public static class ShortIterators.UnmodifiableListIterator extends java.lang.Object implements ShortListIterator
| Modifier and Type | Field and Description |
|---|---|
protected ShortListIterator |
i |
| Constructor and Description |
|---|
UnmodifiableListIterator(ShortListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Short> action)
Deprecated.
|
void |
forEachRemaining(it.unimi.dsi.fastutil.shorts.ShortConsumer action) |
boolean |
hasNext() |
boolean |
hasPrevious() |
int |
nextIndex() |
short |
nextShort() |
int |
previousIndex() |
short |
previousShort()
Returns the previous element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, next, previous, remove, set, setback, skipprotected final ShortListIterator i
public UnmodifiableListIterator(ShortListIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Short>hasNext in interface java.util.ListIterator<java.lang.Short>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Short>hasPrevious in interface java.util.ListIterator<java.lang.Short>public short nextShort()
nextShort in interface it.unimi.dsi.fastutil.shorts.ShortIteratorpublic short previousShort()
ShortBidirectionalIteratorpreviousShort in interface ShortBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface java.util.ListIterator<java.lang.Short>public int previousIndex()
previousIndex in interface java.util.ListIterator<java.lang.Short>public void forEachRemaining(it.unimi.dsi.fastutil.shorts.ShortConsumer action)
forEachRemaining in interface it.unimi.dsi.fastutil.shorts.ShortIteratorforEachRemaining in interface java.util.PrimitiveIterator<java.lang.Short,it.unimi.dsi.fastutil.shorts.ShortConsumer>@Deprecated public void forEachRemaining(java.util.function.Consumer<? super java.lang.Short> action)
forEachRemaining in interface it.unimi.dsi.fastutil.shorts.ShortIteratorforEachRemaining in interface java.util.Iterator<java.lang.Short>