public static class ShortIterators.UnmodifiableBidirectionalIterator extends AbstractShortBidirectionalIterator
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(ShortBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Short |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
nextShort()
Delegates to the corresponding generic method.
|
java.lang.Short |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
previousShort()
Delegates to the corresponding generic method.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskippublic UnmodifiableBidirectionalIterator(ShortBidirectionalIterator 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()@Deprecated public java.lang.Short next()
next in interface java.util.Iterator<java.lang.Short>next in class AbstractShortIterator@Deprecated public java.lang.Short previous()
previous in interface BidirectionalIterator<java.lang.Short>previous in class AbstractShortBidirectionalIteratorListIterator.previous()