public static class DoubleIterators.UnmodifiableIterator extends Object implements DoubleIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Modifier and Type | Field and Description |
|---|---|
protected DoubleIterator |
i |
| Constructor and Description |
|---|
UnmodifiableIterator(DoubleIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
double |
nextDouble()
Returns the next element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, next, skipforEachRemainingprotected final DoubleIterator i
public UnmodifiableIterator(DoubleIterator i)
public double nextDouble()
DoubleIteratornextDouble in interface DoubleIteratornextDouble in interface PrimitiveIterator.OfDoubleIterator.next()Copyright © 2020. All rights reserved.