public static class ShortBigListIterators.UnmodifiableBigListIterator extends AbstractShortBigListIterator
Constructor and Description |
---|
ShortBigListIterators.UnmodifiableBigListIterator(ShortBigListIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
Short |
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.
|
short |
nextShort()
Delegates to the corresponding generic method.
|
Short |
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.
|
short |
previousShort()
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
public ShortBigListIterators.UnmodifiableBigListIterator(ShortBigListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public short nextShort()
AbstractShortIterator
nextShort
in interface ShortIterator
nextShort
in class AbstractShortIterator
Iterator.next()
public short previousShort()
AbstractShortBidirectionalIterator
previousShort
in interface ShortBidirectionalIterator
previousShort
in class AbstractShortBidirectionalIterator
ListIterator.previous()
public long nextIndex()
BigListIterator
ListIterator.nextIndex()
public long previousIndex()
BigListIterator
ListIterator.previousIndex()
public Short next()
AbstractShortIterator
next
in interface Iterator<Short>
next
in class AbstractShortIterator
public Short previous()
AbstractShortBidirectionalIterator
previous
in interface BidirectionalIterator<Short>
previous
in class AbstractShortBidirectionalIterator
ListIterator.previous()