public static class LongBigListIterators.UnmodifiableBigListIterator extends AbstractLongBigListIterator
Constructor and Description |
---|
UnmodifiableBigListIterator(LongBigListIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
Long |
next()
Delegates to the corresponding type-specific method.
|
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next.
|
long |
nextLong()
Delegates to the corresponding generic method.
|
Long |
previous()
Delegates to the corresponding type-specific method.
|
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
long |
previousLong()
Delegates to the corresponding generic method.
|
add, add, back, set, set, skip
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back
skip
skip
forEachRemaining, remove
public UnmodifiableBigListIterator(LongBigListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public long nextLong()
AbstractLongIterator
nextLong
in interface LongIterator
nextLong
in class AbstractLongIterator
Iterator.next()
public long previousLong()
AbstractLongBidirectionalIterator
previousLong
in interface LongBidirectionalIterator
previousLong
in class AbstractLongBidirectionalIterator
ListIterator.previous()
public long nextIndex()
BigListIterator
ListIterator.nextIndex()
public long previousIndex()
BigListIterator
ListIterator.previousIndex()
public Long next()
AbstractLongIterator
next
in interface Iterator<Long>
next
in class AbstractLongIterator
public Long previous()
AbstractLongBidirectionalIterator
previous
in interface BidirectionalIterator<Long>
previous
in class AbstractLongBidirectionalIterator
ListIterator.previous()