BidirectionalIterator<java.lang.Boolean>, BooleanIterator, java.util.Iterator<java.lang.Boolean>, ObjectBidirectionalIterator<java.lang.Boolean>, ObjectIterator<java.lang.Boolean>BooleanBigListIterator, BooleanListIteratorAbstractBooleanBidirectionalIterator, AbstractBooleanBigListIterator, AbstractBooleanListIterator, BooleanBigListIterators.BigListIteratorListIterator, BooleanBigListIterators.EmptyBigListIterator, BooleanBigListIterators.UnmodifiableBigListIterator, BooleanIterators.EmptyIterator, BooleanIterators.UnmodifiableBidirectionalIterator, BooleanIterators.UnmodifiableListIteratorpublic interface BooleanBidirectionalIterator extends BooleanIterator, ObjectBidirectionalIterator<java.lang.Boolean>
BidirectionalIterator| Modifier and Type | Method | Description |
|---|---|---|
default int |
back(int n) |
Moves back for the given number of elements.
|
default java.lang.Boolean |
previous() |
Deprecated.
Please use the corresponding type-specific method instead.
|
boolean |
previousBoolean() |
Returns the previous element as a primitive type.
|
default int |
skip(int n) |
Skips the given number of elements.
|
hasPreviousforEachRemaining, forEachRemaining, next, nextBooleanboolean previousBoolean()
ListIterator.previous()@Deprecated default java.lang.Boolean previous()
previous in interface BidirectionalIterator<java.lang.Boolean>ListIterator.previous()default 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<java.lang.Boolean>n - the number of elements to skip back.previous()default int skip(int n)
The effect of this call is exactly the same as that of calling
BooleanIterator.next() for n times (possibly stopping if Iterator.hasNext()
becomes false).
skip in interface BooleanIteratorskip in interface ObjectBidirectionalIterator<java.lang.Boolean>skip in interface ObjectIterator<java.lang.Boolean>n - the number of elements to skip.Iterator.next()