public static class ObjectIterators.UnmodifiableListIterator<K> extends java.lang.Object implements ObjectListIterator<K>
| Modifier and Type | Field and Description |
|---|---|
protected ObjectListIterator<? extends K> |
i |
| Constructor and Description |
|---|
UnmodifiableListIterator(ObjectListIterator<? extends K> i) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(java.util.function.Consumer<? super K> action) |
boolean |
hasNext() |
boolean |
hasPrevious() |
K |
next() |
int |
nextIndex() |
K |
previous() |
int |
previousIndex() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, remove, setprotected final ObjectListIterator<? extends K> i
public UnmodifiableListIterator(ObjectListIterator<? extends K> i)
public boolean hasNext()
public boolean hasPrevious()
public K next()
public K previous()
public int nextIndex()
nextIndex in interface java.util.ListIterator<K>public int previousIndex()
previousIndex in interface java.util.ListIterator<K>