public static class ShortIterators.UnmodifiableBidirectionalIterator extends java.lang.Object implements ShortBidirectionalIterator
| Modifier and Type | Field and Description |
|---|---|
protected ShortBidirectionalIterator |
i |
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(ShortBidirectionalIterator 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() |
short |
nextShort() |
short |
previousShort()
Returns the previous element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previous, skipprotected final ShortBidirectionalIterator i
public UnmodifiableBidirectionalIterator(ShortBidirectionalIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Short>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Short>public short nextShort()
nextShort in interface it.unimi.dsi.fastutil.shorts.ShortIteratorpublic short previousShort()
ShortBidirectionalIteratorpreviousShort in interface ShortBidirectionalIteratorListIterator.previous()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>