it.unimi.dsi.fastutil.longs
Class LongIterators.UnmodifiableIterator
java.lang.Object
it.unimi.dsi.fastutil.longs.AbstractLongIterator
it.unimi.dsi.fastutil.longs.LongIterators.UnmodifiableIterator
- All Implemented Interfaces:
- Iterator, LongIterator
- Enclosing class:
- LongIterators
- public static class LongIterators.UnmodifiableIterator
- extends AbstractLongIterator
An unmodifiable wrapper class for iterators.
Method Summary |
boolean |
hasNext()
|
Object |
next()
Delegates to the corresponding type-specific method. |
long |
nextLong()
Delegates to the corresponding generic method. |
LongIterators.UnmodifiableIterator
public LongIterators.UnmodifiableIterator(LongIterator i)
hasNext
public boolean hasNext()
nextLong
public long nextLong()
- Description copied from class:
AbstractLongIterator
- Delegates to the corresponding generic method.
- Specified by:
nextLong
in interface LongIterator
- Overrides:
nextLong
in class AbstractLongIterator
next
public Object next()
- Description copied from class:
AbstractLongIterator
- Delegates to the corresponding type-specific method.
- Specified by:
next
in interface Iterator
- Overrides:
next
in class AbstractLongIterator