Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
static <T> Iterator<T> |
reverse(Iterator<T> it) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public T next() throws NoSuchElementException
next
in interface Iterator<T>
NoSuchElementException
public void remove() throws UnsupportedOperationException
remove
in interface Iterator<T>
UnsupportedOperationException