public interface IntBidirectionalIterator
extends it.unimi.dsi.fastutil.ints.IntIterator, it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<java.lang.Integer>
BidirectionalIterator| Modifier and Type | Method and Description |
|---|---|
default int |
back(int n)
Moves back for the given number of elements.
|
default java.lang.Integer |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
previousInt()
Returns the previous element as a primitive type.
|
default int |
skip(int n) |
int previousInt()
ListIterator.previous()@Deprecated default java.lang.Integer previous()
previous in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Integer>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.Integer>n - the number of elements to skip back.previous()default int skip(int n)
skip in interface it.unimi.dsi.fastutil.ints.IntIteratorskip in interface it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<java.lang.Integer>skip in interface it.unimi.dsi.fastutil.objects.ObjectIterator<java.lang.Integer>