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