public static class ObjectIterators.UnmodifiableListIterator<K> extends AbstractObjectListIterator<K>
Constructor and Description |
---|
UnmodifiableListIterator(ObjectListIterator<K> i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
K |
next() |
int |
nextIndex() |
K |
previous()
Returns the previous element from the collection.
|
int |
previousIndex() |
add, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
back
skip
forEachRemaining
public UnmodifiableListIterator(ObjectListIterator<K> i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public K next()
public K previous()
BidirectionalIterator
ListIterator.previous()
public int nextIndex()
public int previousIndex()