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