public final class DoubleArrayIterator extends Object implements ProtectedIterator<Double>
| Constructor and Description |
|---|
DoubleArrayIterator(double[] array)
Creates a new DoubleArrayIterator that iterates over the
given
double[]. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Double |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic DoubleArrayIterator(double[] array)
throws IllegalArgumentException
double[].array - The double[] to iterate over.IllegalArgumentException - If the given double[] is null.public Double next() throws NoSuchElementException
next in interface Iterator<Double>NoSuchElementExceptionpublic void remove()
throws UnsupportedOperationException
remove in interface Iterator<Double>UnsupportedOperationExceptionCopyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.