Package | com.ericfeminella.utils.iterators |
Class | public class ObjectIterator |
Inheritance | ObjectIterator com.ericfeminella.utils.iterators.Iterator |
Method | Defined by | ||
---|---|---|---|
ObjectIterator(object:Object = null)
Instantiates a new ObjectIterator
| ObjectIterator | ||
hasNext():Boolean
Determines if there are properties remaining in the Object
| ObjectIterator | ||
next():*
Returns the next propertyCursor value in the Object
| ObjectIterator | ||
reset():void
Resets the position of the ObjectIterator to 0
| ObjectIterator | ||
setAggregate(aggregate:*):void
Sets the aggregate object in which to traverse over
| ObjectIterator |
ObjectIterator | () | constructor |
public function ObjectIterator(object:Object = null)
Instantiates a new ObjectIterator
Parametersobject:Object (default = null ) — aggregate object for the ObjectIterator
|
hasNext | () | method |
public override function hasNext():Boolean
Determines if there are properties remaining in the Object
ReturnsBoolean — true if a propertyCursor remains in the Object, false if not
|
next | () | method |
public override function next():*
Returns the next propertyCursor value in the Object
Returns* — value of current propertyCursor
|
reset | () | method |
public override function reset():void
Resets the position of the ObjectIterator to 0
setAggregate | () | method |
public override function setAggregate(aggregate:*):void
Sets the aggregate object in which to traverse over
Parametersaggregate:* |