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