public interface IntBidirectionalIterator extends IntIterator, ObjectBidirectionalIterator<Integer>
BidirectionalIterator| Modifier and Type | Method and Description |
|---|---|
int |
back(int n)
Moves back for the given number of elements.
|
Integer |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
previousInt()
Returns the previous element as a primitive type.
|
next, nextInt, skipskiphasPreviousforEachRemaining, hasNext, removeint previousInt()
ListIterator.previous()@Deprecated Integer previous()
previous in interface BidirectionalIterator<Integer>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<Integer>n - the number of elements to skip back.previous()