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, skip
public LongIterators.UnmodifiableIterator(LongIterator i)
public boolean hasNext()
public long nextLong()
AbstractLongIterator
nextLong
in interface LongIterator
nextLong
in class AbstractLongIterator
Iterator.next()
public Long next()
AbstractLongIterator
next
in interface Iterator<Long>
next
in class AbstractLongIterator