public final class DoubleArrayIterator extends AbstractIndexedIterator<Double>
| Constructor and Description |
|---|
DoubleArrayIterator(double... array)
Creates a new DoubleArrayIterator.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
get(int index)
Returns the payload value at the given index.
|
hasNext, hasPrevious, next, previousremoveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveforEachRemainingpublic DoubleArrayIterator(double... array)
throws IllegalArgumentException
array - The double[] to iterate over.IllegalArgumentException - If the given double[] is null.public Double get(int index)
AbstractIndexedIteratorget in class AbstractIndexedIterator<Double>index - The index to be used, which is guaranteed to be non-negative
and smaller then the maximum index.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.