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