public interface BooleanBidirectionalIterator
extends it.unimi.dsi.fastutil.booleans.BooleanIterator, it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<java.lang.Boolean>
BidirectionalIterator| Modifier and Type | Method and 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) |
boolean previousBoolean()
ListIterator.previous()@Deprecated default java.lang.Boolean previous()
previous in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Boolean>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 it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<java.lang.Boolean>n - the number of elements to skip back.previous()default int skip(int n)
skip in interface it.unimi.dsi.fastutil.booleans.BooleanIteratorskip in interface it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<java.lang.Boolean>skip in interface it.unimi.dsi.fastutil.objects.ObjectIterator<java.lang.Boolean>