BidirectionalIterator<K>, java.util.Iterator<K>, ObjectIterator<K>BooleanBidirectionalIterator, BooleanListIterator, IntBidirectionalIterator, IntListIterator, ObjectListIterator<K>AbstractBooleanBidirectionalIterator, AbstractBooleanListIterator, AbstractIntBidirectionalIterator, AbstractIntListIterator, AbstractObjectBidirectionalIterator, AbstractObjectListIterator, BooleanIterators.EmptyIterator, BooleanIterators.UnmodifiableBidirectionalIterator, BooleanIterators.UnmodifiableListIterator, IntIterators.EmptyIterator, IntIterators.UnmodifiableBidirectionalIterator, IntIterators.UnmodifiableListIterator, ObjectIterators.EmptyIterator, ObjectIterators.UnmodifiableBidirectionalIterator, ObjectIterators.UnmodifiableListIteratorpublic interface ObjectBidirectionalIterator<K> extends ObjectIterator<K>, BidirectionalIterator<K>
BidirectionalIterator| Modifier and Type | Method | Description |
|---|---|---|
int |
back(int n) |
Moves back for the given number of elements.
|
hasPrevious, previousskipint 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).
n - the number of elements to skip back.Iterator.next()