Property | Defined by | ||
---|---|---|---|
_filter : Function | FilteredIterator | ||
_iterator : IIterator | FilteredIterator |
Method | Defined by | ||
---|---|---|---|
FilteredIterator(unfilteredCollection:IIterator, filterFunction:Function)
FilteredIterator Constructor
| FilteredIterator | ||
hasNext():Boolean
Is there another item in the collection to move to.
| FilteredIterator | ||
next():Object
Move to the next item and return it.
| FilteredIterator | ||
peek():Object
Returns the next item in the collection without moving to it.
| FilteredIterator |
_filter | property |
protected var _filter:Function
_iterator | property |
protected var _iterator:IIterator
FilteredIterator | () | constructor |
public function FilteredIterator(unfilteredCollection:IIterator, filterFunction:Function)
FilteredIterator Constructor
ParametersunfilteredCollection:IIterator |
|
filterFunction:Function |
hasNext | () | method |
public function hasNext():Boolean
Is there another item in the collection to move to.
ReturnsBoolean |
next | () | method |
public function next():Object
Move to the next item and return it.
ReturnsObject |
peek | () | method |
public function peek():Object
Returns the next item in the collection without moving to it.
ReturnsObject |