public interface ShortBigListIterator extends ShortBidirectionalIterator, it.unimi.dsi.fastutil.BigListIterator<java.lang.Short>
BigListIterator.BigListIterator| Modifier and Type | Method and Description |
|---|---|
default void |
add(short k)
Inserts the specified element into the list (optional operation).
|
default void |
add(java.lang.Short k)
Deprecated.
Please use the corresponding type-specific method instead.
|
default long |
back(long n)
Moves back for the given number of elements.
|
default void |
set(short k)
Replaces the last element returned by
next() or
previous() with the specified element (optional operation). |
default void |
set(java.lang.Short k)
Deprecated.
Please use the corresponding type-specific method instead.
|
default int |
skip(int n) |
default long |
skip(long n)
Skips the given number of elements.
|
back, previous, previousShortdefault void set(short k)
next() or
previous() with the specified element (optional operation).ListIterator.set(Object)default void add(short k)
ListIterator.add(Object)@Deprecated default void set(java.lang.Short k)
ShortIterator.next() or ShortBidirectionalIterator.previous() with the specified element (optional operation).set in interface it.unimi.dsi.fastutil.BigListIterator<java.lang.Short>@Deprecated default void add(java.lang.Short k)
add in interface it.unimi.dsi.fastutil.BigListIterator<java.lang.Short>default long skip(long n)
The effect of this call is exactly the same as that of
calling next() for n times (possibly stopping
if Iterator.hasNext() becomes false).
n - the number of elements to skip.Iterator.next()default long back(long 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).
n - the number of elements to skip back.BidirectionalIterator.previous()default int skip(int n)
skip in interface it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<java.lang.Short>skip in interface it.unimi.dsi.fastutil.objects.ObjectIterator<java.lang.Short>skip in interface ShortBidirectionalIteratorskip in interface it.unimi.dsi.fastutil.shorts.ShortIterator