Class calitha.collections.IIterator
An iterator over a collection.
It is based on the
Java Iterator interface.
Defined in: IIterator.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
hasNext()
Returns true if the iteration has more elements.
|
|
next()
Returns the next element in the iteration.
|
|
remove()
Removes from the underlying collection the last element returned by the iterator.
|
Method Detail
{Boolean}
hasNext()
Returns true if the iteration has more elements.
- Returns:
- {Boolean} true if the iterator has more elements.
{Object}
next()
Returns the next element in the iteration.
- Returns:
- {Object} the next element in the iteration.
remove()
Removes from the underlying collection the last element returned by the iterator.