BidirectionalIterator<K>, ObjectBidirectionalIterator<K>, ObjectIterator<K>, ObjectListIterator<K>, java.util.Iterator<K>, java.util.ListIterator<K>public static class ObjectIterators.UnmodifiableListIterator<K> extends AbstractObjectListIterator<K>
| Modifier and Type | Field | Description |
|---|---|---|
protected ObjectListIterator<K> |
i |
| Constructor | Description |
|---|---|
UnmodifiableListIterator(ObjectListIterator<K> i) |
| Modifier and Type | Method | 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() |
backremove, skipadd, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackskipprotected final ObjectListIterator<K> i
public UnmodifiableListIterator(ObjectListIterator<K> i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public K next()
public K previous()
BidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()