BidirectionalIterator<java.lang.Integer>, IntIterator, java.util.Iterator<java.lang.Integer>, ObjectBidirectionalIterator<java.lang.Integer>, ObjectIterator<java.lang.Integer>IntListIteratorAbstractIntBidirectionalIterator, AbstractIntListIterator, IntIterators.EmptyIterator, IntIterators.UnmodifiableBidirectionalIterator, IntIterators.UnmodifiableListIteratorpublic interface IntBidirectionalIterator extends IntIterator, ObjectBidirectionalIterator<java.lang.Integer>
BidirectionalIterator| Modifier and Type | Method | Description |
|---|---|---|
int |
back(int n) |
Moves back for the given number of elements.
|
int |
previousInt() |
Returns the previous element as a primitive type.
|
hasPrevious, previousnextInt, skipskipint previousInt()
ListIterator.previous()int back(int n)
The effect of this call is exactly the same as that of calling
BidirectionalIterator.previous() for n times (possibly stopping if
BidirectionalIterator.hasPrevious() becomes false).
back in interface ObjectBidirectionalIterator<java.lang.Integer>n - the number of elements to skip back.Iterator.next()