java.lang
public interface SimpleIterator<T>
Method Summary | |
---|---|
boolean | hasNext()
Returns true if the iteration has more elements. |
T | next()
Returns the next element in the iteration.
|
Returns: true if the iterator has more elements.
Returns: the next element in the iteration.
Throws: NoSuchElementException iteration has no more elements.