public static class ShortIterators.UnmodifiableListIterator extends AbstractShortListIterator
Constructor and Description |
---|
ShortIterators.UnmodifiableListIterator(ShortListIterator 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.
|
int |
nextIndex() |
short |
nextShort()
Delegates to the corresponding generic method.
|
Short |
previous()
Delegates to the corresponding type-specific method.
|
int |
previousIndex() |
short |
previousShort()
Delegates to the corresponding generic method.
|
add, add, set, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
back
skip
skip
public ShortIterators.UnmodifiableListIterator(ShortListIterator 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 int nextIndex()
public int previousIndex()
public Short next()
AbstractShortIterator
next
in interface Iterator<Short>
next
in interface ListIterator<Short>
next
in class AbstractShortIterator
public Short previous()
AbstractShortBidirectionalIterator
previous
in interface BidirectionalIterator<Short>
previous
in interface ListIterator<Short>
previous
in class AbstractShortBidirectionalIterator
ListIterator.previous()