public static class DoubleIterators.UnmodifiableIterator extends Object implements DoubleIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Constructor and Description |
|---|
UnmodifiableIterator(DoubleIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
double |
nextDouble()
Returns the next element as a primitive type.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, next, skipforEachRemainingpublic UnmodifiableIterator(DoubleIterator i)
public double nextDouble()
DoubleIteratornextDouble in interface DoubleIteratornextDouble in interface PrimitiveIterator.OfDoubleIterator.next()