public static class ObjectBigListIterators.UnmodifiableBigListIterator<K> extends java.lang.Object implements ObjectBigListIterator<K>
Constructor and Description |
---|
UnmodifiableBigListIterator(ObjectBigListIterator<? extends K> i) |
Modifier and Type | Method and Description |
---|---|
void |
forEachRemaining(java.util.function.Consumer<? super K> action) |
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, wait
add, back, set, skip, skip
back
public UnmodifiableBigListIterator(ObjectBigListIterator<? extends K> i)
public boolean hasNext()
hasNext
in interface java.util.Iterator<K>
public boolean hasPrevious()
BidirectionalIterator
hasPrevious
in interface BidirectionalIterator<K>
ListIterator.hasPrevious()
public K previous()
BidirectionalIterator
previous
in interface BidirectionalIterator<K>
ListIterator.previous()
public long nextIndex()
BigListIterator
nextIndex
in interface BigListIterator<K>
ListIterator.nextIndex()
public long previousIndex()
BigListIterator
previousIndex
in interface BigListIterator<K>
ListIterator.previousIndex()