public interface ShortBidirectionalIterator extends ShortIterator, ObjectBidirectionalIterator<Short>
BidirectionalIterator| Modifier and Type | Method and Description |
|---|---|
int |
back(int n)
Moves back for the given number of elements.
|
Short |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
previousShort()
Returns the previous element as a primitive type.
|
next, nextShort, skipskiphasPreviousforEachRemaining, hasNext, removeshort previousShort()
ListIterator.previous()@Deprecated Short previous()
previous in interface BidirectionalIterator<Short>ListIterator.previous()int back(int n)
The effect of this call is exactly the same as that of calling
previous() for n times (possibly stopping if
BidirectionalIterator.hasPrevious() becomes false).
back in interface ObjectBidirectionalIterator<Short>n - the number of elements to skip back.previous()