IIterator : public abstract <<interface>> interface
Created: 04/26/07 10:55:48
Modified: 04/26/07 10:55:48
Project:
Advanced:
Defines the contract for concrete IIterator implementations which must provide an API for traversing an aggregate
Operation Details
public
hasNext():Boolean
Sequential
Notes: Determines if there are elements remaining in the aggregate <br />@return  true if an element remains, false if not
public
next():var
Sequential
Notes: Retrieves the next element in the aggregate <br />@return next element based on the current index
public
position():int
Sequential
Notes: Determines the position of the current element in the aggreagate <br />@return  the current index of the aggreagate
public
reset():void
Sequential
Notes: Resets the cursor index of the Iterator to 0
public
setAggregate(
aggregate: Object,
):void
Sequential
Notes: Sets the aggregate object in which to iterator over <br />@param the aggregate instance<br />@default null
Object Type Connection Notes
ArrayIterator Class Realisation  
CollectionIterator Class Realisation  
ObjectIterator Class Realisation