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.
|
java.lang.Short |
next()
Delegates to the corresponding type-specific method.
|
int |
nextIndex() |
short |
nextShort()
Delegates to the corresponding generic method.
|
java.lang.Short |
previous()
Delegates to the corresponding type-specific method.
|
int |
previousIndex() |
short |
previousShort()
Delegates to the corresponding generic method.
|
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackskipskippublic ShortIterators.UnmodifiableListIterator(ShortListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public short nextShort()
AbstractShortIteratornextShort in interface ShortIteratornextShort in class AbstractShortIteratorIterator.next()public short previousShort()
AbstractShortBidirectionalIteratorpreviousShort in interface ShortBidirectionalIteratorpreviousShort in class AbstractShortBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()
public java.lang.Short next()
AbstractShortIteratornext in interface java.util.Iterator<java.lang.Short>next in interface java.util.ListIterator<java.lang.Short>next in class AbstractShortIteratorpublic java.lang.Short previous()
AbstractShortBidirectionalIteratorprevious in interface BidirectionalIterator<java.lang.Short>previous in interface java.util.ListIterator<java.lang.Short>previous in class AbstractShortBidirectionalIteratorListIterator.previous()