public static class ObjectIterators.UnmodifiableIterator<K> extends java.lang.Object implements ObjectIterator<K>
Constructor and Description |
---|
UnmodifiableIterator(ObjectIterator<? extends K> i) |
Modifier and Type | Method and Description |
---|---|
void |
forEachRemaining(java.util.function.Consumer<? super K> action) |
boolean |
hasNext() |
K |
next() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
public UnmodifiableIterator(ObjectIterator<? extends K> i)
public boolean hasNext()
hasNext
in interface java.util.Iterator<K>