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 |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next.
|
long |
nextLong()
Returns the next element as a primitive type.
|
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
long |
previousLong()
This implementation delegates to
AbstractLongBidirectionalIterator.previous(). |
add, add, back, set, set, skipback, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previousnext, skipskipforEachRemaining, removepublic UnmodifiableBigListIterator(LongBigListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public long nextLong()
AbstractLongIteratorThis implementation delegates to the corresponding generic method.
nextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()public long previousLong()
AbstractLongBidirectionalIterator
This implementation delegates to AbstractLongBidirectionalIterator.previous().
previousLong in interface LongBidirectionalIteratorpreviousLong in class AbstractLongBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()