Namespace: OpenEdge.Core.Collections
Interface
IListIterator
Parent classes:
Inherits: OpenEdge.Core.Collections.IIterator

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:IListIterator
Purpose:An iterator for lists that can traverse the list in
both directions
Author(s):hdaniels
Purpose: Returns the next elements' index.
Return integer The index of the next element




Method Summary
Options Name Purpose
LOGICAL HasNext () /** Indicates whether there's another element @return Logical Trues if the iterator has anotehanother element */
Inherited from OpenEdge.Core.Collections.IIterator
LOGICAL HasPrevious () /** Indicates whether there's a previous element. @return logical True if there is a previous element */
Progress.Lang.Object Next () /** Returns the next object in the iterator. Next being the next object at the iterator's current position. @return Object The object at the 'next' position. */
Inherited from OpenEdge.Core.Collections.IIterator
INTEGER NextIndex () /** Returns the next elements' index. Return integer The index of the next element */
Progress.Lang.Object Previous () /** Returns the previous element @return Object */
INTEGER PreviousIndex () /** Returns the index of the previous item. Return integer The index of the previous element */
LOGICAL Remove () /** Removes an entry from the iterator. @return logical True if the operation succeeeded. */
Inherited from OpenEdge.Core.Collections.IIterator


Method Detail
Top

PUBLIC LOGICAL HasNext ()

Inherited from OpenEdge.Core.Collections.IIterator
Purpose: Indicates whether there's another element
Returns LOGICAL
Logical Trues if the iterator has anotehanother element
Top

PUBLIC LOGICAL HasPrevious ()

Purpose: Indicates whether there's a previous element.
Returns LOGICAL
logical True if there is a previous element
Top

PUBLIC Progress.Lang.Object Next ()

Inherited from OpenEdge.Core.Collections.IIterator
Purpose: Returns the next object in the iterator. Next being the next object
at the iterator's current position.
Returns Progress.Lang.Object
Object The object at the 'next' position.
Top

PUBLIC INTEGER NextIndex ()

Purpose: Returns the next elements' index.
Return integer The index of the next element
Returns INTEGER
Top

PUBLIC Progress.Lang.Object Previous ()

Purpose: Returns the previous element
Returns Progress.Lang.Object
Object
Top

PUBLIC INTEGER PreviousIndex ()

Purpose: Returns the index of the previous item.
Return integer The index of the previous element
Returns INTEGER
Top

PUBLIC LOGICAL Remove ()

Inherited from OpenEdge.Core.Collections.IIterator
Purpose: Removes an entry from the iterator.
Returns LOGICAL
logical True if the operation succeeeded.


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0