public static class LongIterators.UnmodifiableIterator extends AbstractLongIterator
| Constructor and Description |
|---|
UnmodifiableIterator(LongIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
long |
nextLong()
Returns the next element as a primitive type.
|
next, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic UnmodifiableIterator(LongIterator i)
public boolean hasNext()
public long nextLong()
AbstractLongIteratorThis implementation delegates to the corresponding generic method.
nextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()