public static class IntIterators.UnmodifiableIterator
extends java.lang.Object
implements it.unimi.dsi.fastutil.ints.IntIterator
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.ints.IntIterator |
i |
| Constructor and Description |
|---|
UnmodifiableIterator(it.unimi.dsi.fastutil.ints.IntIterator 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() |
int |
nextInt() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic UnmodifiableIterator(it.unimi.dsi.fastutil.ints.IntIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Integer>public int nextInt()
nextInt in interface it.unimi.dsi.fastutil.ints.IntIteratornextInt in interface java.util.PrimitiveIterator.OfIntpublic 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