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 HasPrevious () /** Indicates whether there's a previous element. @return logical True if there is a previous element */
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 */


Method Detail
Top

LOGICAL HasPrevious ()

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

INTEGER NextIndex ()

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

Progress.Lang.Object Previous ()

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

INTEGER PreviousIndex ()

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


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15