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, skipbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackskipskipforEachRemaining, removepublic UnmodifiableBigListIterator(LongBigListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public long nextLong()
AbstractLongIteratornextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()public long previousLong()
AbstractLongBidirectionalIteratorpreviousLong in interface LongBidirectionalIteratorpreviousLong in class AbstractLongBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()public Long next()
AbstractLongIteratornext in interface Iterator<Long>next in class AbstractLongIteratorpublic Long previous()
AbstractLongBidirectionalIteratorprevious in interface BidirectionalIterator<Long>previous in class AbstractLongBidirectionalIteratorListIterator.previous()