public static class IntIterators.UnmodifiableBidirectionalIterator extends java.lang.Object implements IntBidirectionalIterator
| Modifier and Type | Field and Description |
|---|---|
protected IntBidirectionalIterator |
i |
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(IntBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Integer> action)
Deprecated.
|
void |
forEachRemaining(java.util.function.IntConsumer action) |
boolean |
hasNext() |
boolean |
hasPrevious() |
int |
nextInt() |
int |
previousInt()
Returns the previous element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previous, skipprotected final IntBidirectionalIterator i
public UnmodifiableBidirectionalIterator(IntBidirectionalIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Integer>public boolean hasPrevious()
hasPrevious in interface it.unimi.dsi.fastutil.BidirectionalIterator<java.lang.Integer>public int nextInt()
nextInt in interface it.unimi.dsi.fastutil.ints.IntIteratornextInt in interface java.util.PrimitiveIterator.OfIntpublic int previousInt()
IntBidirectionalIteratorpreviousInt in interface IntBidirectionalIteratorListIterator.previous()public void forEachRemaining(java.util.function.IntConsumer action)
forEachRemaining in interface java.util.PrimitiveIterator<java.lang.Integer,java.util.function.IntConsumer>forEachRemaining in interface java.util.PrimitiveIterator.OfInt@Deprecated public void forEachRemaining(java.util.function.Consumer<? super java.lang.Integer> action)
forEachRemaining in interface it.unimi.dsi.fastutil.ints.IntIteratorforEachRemaining in interface java.util.Iterator<java.lang.Integer>forEachRemaining in interface java.util.PrimitiveIterator.OfInt