IIterator
Interface for an iterator. The iterator allows you to iterate through all the items in a collection.
Constructor | Fields | Methods
Constructor
IIterator()
Fields
Name |
Type |
Description |
Object |
The object returned by the method IIterator.getNext at the end of the iteration. |
Methods
Name |
Returns |
Description |
getNext() |
Object|IIterator.STOP_ITERATION |
Returns a reference to the next item in the collection or the IIterator.#STOP_ITERATION object if the iteration is completed. |
Fields details
STOP_ITERATION
{Object} STOP_ITERATION
The object returned by the method IIterator.getNext at the end of the iteration.
Methods details
getNext
{Object|IIterator.STOP_ITERATION} getNext()
Returns a reference to the next item in the collection or the IIterator.#STOP_ITERATION object if the iteration is completed.