public static class LongIterators.UnmodifiableIterator extends java.lang.Object implements LongIterator
| Constructor and Description |
|---|
UnmodifiableIterator(LongIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
long |
nextLong()
Returns the next element as a primitive type.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, next, skippublic UnmodifiableIterator(LongIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Long>public long nextLong()
LongIteratornextLong in interface LongIteratornextLong in interface java.util.PrimitiveIterator.OfLongIterator.next()