Iterator |
Array2Iterator Array3Iterator ArrayedQueueIterator ArrayedStackIterator 9 other children |
A ‘java-style’ iterator interface.
Iterator | A ‘java-style’ iterator interface. |
Functions | |
next | Returns the current item and moves the iterator to the next item in the collection. |
hasNext | Checks if a next item exists. |
start | Moves the iterator to the first item in the collection. |
Properties | |
data | Grants access to the current item being referenced by the iterator. |
data | @private |
Returns the current item and moves the iterator to the next item in the collection.
function next():*
Checks if a next item exists.
function hasNext():Boolean
Moves the iterator to the first item in the collection.
function start():void
Grants access to the current item being referenced by the iterator.
function get data():*