public static class ShortBigListIterators.UnmodifiableBigListIterator extends AbstractShortBigListIterator
| Constructor and Description |
|---|
UnmodifiableBigListIterator(ShortBigListIterator 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.
|
short |
nextShort()
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.
|
short |
previousShort()
This implementation delegates to
AbstractShortBidirectionalIterator.previous(). |
add, add, back, set, set, skipback, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previousnext, skipskipforEachRemaining, removepublic UnmodifiableBigListIterator(ShortBigListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public short nextShort()
AbstractShortIteratorThis implementation delegates to the corresponding generic method.
nextShort in interface ShortIteratornextShort in class AbstractShortIteratorIterator.next()public short previousShort()
AbstractShortBidirectionalIterator
This implementation delegates to AbstractShortBidirectionalIterator.previous().
previousShort in interface ShortBidirectionalIteratorpreviousShort in class AbstractShortBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()