public static class DoubleIterators.UnmodifiableIterator extends AbstractDoubleIterator
Constructor and Description |
---|
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public 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