OverviewSingleDeprecated

jsx3.util

interface Iterator

jsx3.util.Iterator

interface Iterator
An interface that defines an object that can be iterated over.

Since:

3.2

Method Summary
abstract boolean
Returns whether there are more elements remaining in this iterator.
abstract Object
Returns the next element in this iterator.
abstract void
Removes the last object returned by next() from the source backing this iterator.
Method Detail

hasNext

abstract boolean hasNext()
Returns whether there are more elements remaining in this iterator.

Returns:

 

next

abstract Object next()
Returns the next element in this iterator.

Returns:

 

remove

abstract void remove()
Removes the last object returned by next() from the source backing this iterator.