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()
Deprecated.
Please use the corresponding type-specific method instead.
|
long |
nextLong()
Delegates to the corresponding generic method.
|
remove, skippublic UnmodifiableIterator(LongIterator i)
public boolean hasNext()
public long nextLong()
AbstractLongIteratornextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()@Deprecated public java.lang.Long next()
next in interface java.util.Iterator<java.lang.Long>next in class AbstractLongIterator