Packagecom.ericfeminella.utils.iterators
Classpublic class ObjectIterator
InheritanceObjectIterator Inheritance com.ericfeminella.utils.iterators.Iterator

Concrete Iterator implementation which provides methods for iterating over an object



Public Methods
 MethodDefined by
  
hasNext():Boolean
Determines if there are elements remaining in the aggregate object
ObjectIterator
  
next():*
Returns the next property value in the aggregate object
ObjectIterator
  
setAggregate(aggregate:*):void
Sets the aggregate object in which the Iterator instance is to traverse over
ObjectIterator
Method detail
hasNext()method
public override function hasNext():Boolean

Determines if there are elements remaining in the aggregate object

Returns
Boolean — true if an element remains in the aggregate, false if not
next()method 
public override function next():*

Returns the next property value in the aggregate object

Returns
* — value of current property
setAggregate()method 
public override function setAggregate(aggregate:*):void

Sets the aggregate object in which the Iterator instance is to traverse over

Parameters
aggregate:*