public static class ObjectBigListIterators.UnmodifiableBigListIterator<K> extends Object implements ObjectBigListIterator<K>
| Constructor and Description |
|---|
UnmodifiableBigListIterator(ObjectBigListIterator<K> i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
K |
next() |
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next.
|
K |
previous()
Returns the previous element from the collection.
|
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, back, set, skip, skipbackforEachRemaining, removepublic UnmodifiableBigListIterator(ObjectBigListIterator<K> i)
public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<K>ListIterator.hasPrevious()public K previous()
BidirectionalIteratorprevious in interface BidirectionalIterator<K>ListIterator.previous()public long nextIndex()
BigListIteratornextIndex in interface BigListIterator<K>ListIterator.nextIndex()public long previousIndex()
BigListIteratorpreviousIndex in interface BigListIterator<K>ListIterator.previousIndex()