BidirectionalIterator<K>, BigListIterator<K>, ObjectBidirectionalIterator<K>, ObjectBigListIterator<K>, ObjectIterator<K>, java.util.Iterator<K>public static class ObjectBigListIterators.UnmodifiableBigListIterator<K> extends java.lang.Object implements ObjectBigListIterator<K>
| Constructor | Description |
|---|---|
UnmodifiableBigListIterator(ObjectBigListIterator<K> i) |
| Modifier and Type | Method | 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, waitbackpublic UnmodifiableBigListIterator(ObjectBigListIterator<K> i)
public boolean hasNext()
hasNext in interface java.util.Iterator<K>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()