public static class LongIterators.UnmodifiableIterator
extends java.lang.Object
implements it.unimi.dsi.fastutil.longs.LongIterator
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.longs.LongIterator |
i |
| Constructor and Description |
|---|
UnmodifiableIterator(it.unimi.dsi.fastutil.longs.LongIterator i) |
| Modifier and Type | Method and Description |
|---|---|
void |
forEachRemaining(java.util.function.Consumer<? super java.lang.Long> action)
Deprecated.
|
void |
forEachRemaining(java.util.function.LongConsumer action) |
boolean |
hasNext() |
long |
nextLong() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic UnmodifiableIterator(it.unimi.dsi.fastutil.longs.LongIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Long>public long nextLong()
nextLong in interface it.unimi.dsi.fastutil.longs.LongIteratornextLong in interface java.util.PrimitiveIterator.OfLongpublic void forEachRemaining(java.util.function.LongConsumer action)
forEachRemaining in interface java.util.PrimitiveIterator<java.lang.Long,java.util.function.LongConsumer>forEachRemaining in interface java.util.PrimitiveIterator.OfLong@Deprecated public void forEachRemaining(java.util.function.Consumer<? super java.lang.Long> action)
forEachRemaining in interface it.unimi.dsi.fastutil.longs.LongIteratorforEachRemaining in interface java.util.Iterator<java.lang.Long>forEachRemaining in interface java.util.PrimitiveIterator.OfLong