public static class DoubleIterators.UnmodifiableIterator extends AbstractDoubleIterator
Constructor and Description |
---|
DoubleIterators.UnmodifiableIterator(DoubleIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Double |
next()
Delegates to the corresponding type-specific method.
|
double |
nextDouble()
Delegates to the corresponding generic method.
|
remove, skip
public DoubleIterators.UnmodifiableIterator(DoubleIterator i)
public boolean hasNext()
public double nextDouble()
AbstractDoubleIterator
nextDouble
in interface DoubleIterator
nextDouble
in class AbstractDoubleIterator
Iterator.next()
public Double next()
AbstractDoubleIterator
next
in interface Iterator<Double>
next
in class AbstractDoubleIterator