| Constructor and Description |
|---|
IteratorIteration(Iterator<? extends E> iter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
E |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by the
iteration (optional operation).
|
public boolean hasNext()
IterationIteration.next() would return an element
rather than throwing a NoSuchElementException.)public E next()
IterationCopyright © 2001-2013 Aduna. All Rights Reserved.