BidirectionalIterator<java.lang.Boolean>, BooleanIterator, java.util.Iterator<java.lang.Boolean>, ObjectBidirectionalIterator<java.lang.Boolean>, ObjectIterator<java.lang.Boolean>BooleanListIteratorAbstractBooleanBidirectionalIterator, AbstractBooleanListIterator, BooleanIterators.EmptyIterator, BooleanIterators.UnmodifiableBidirectionalIterator, BooleanIterators.UnmodifiableListIteratorpublic interface BooleanBidirectionalIterator extends BooleanIterator, ObjectBidirectionalIterator<java.lang.Boolean>
BidirectionalIterator| Modifier and Type | Method | Description |
|---|---|---|
int |
back(int n) |
Moves back for the given number of elements.
|
boolean |
previousBoolean() |
Returns the previous element as a primitive type.
|
hasPrevious, previousnextBoolean, skipskipboolean previousBoolean()
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.Boolean>n - the number of elements to skip back.Iterator.next()