public static class LongIterators.UnmodifiableIterator extends AbstractLongIterator
| Constructor and Description |
|---|
LongIterators.UnmodifiableIterator(LongIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Long |
next()
Delegates to the corresponding type-specific method.
|
long |
nextLong()
Delegates to the corresponding generic method.
|
remove, skippublic LongIterators.UnmodifiableIterator(LongIterator i)
public boolean hasNext()
public long nextLong()
AbstractLongIteratornextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()public Long next()
AbstractLongIteratornext in interface Iterator<Long>next in class AbstractLongIterator