public final class DoubleArrayIterable extends Object implements Iterable<Double>
DoubleArrayIterable is a Iterable that generates
Iterators that iterate over a given double[].
Calling iterator() creates an instance of
DoubleArrayIterator.
| Constructor and Description |
|---|
DoubleArrayIterable(double[] values)
Creates a new
DoubleArrayIterable for the given double[]. |
DoubleArrayIterable(double[] values,
double replacement)
Creates a new
DoubleArrayIterable for the given double[]. |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Double> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DoubleArrayIterable(double[] values)
DoubleArrayIterable for the given double[].values - The double[] to iterate over.public DoubleArrayIterable(double[] values,
double replacement)
DoubleArrayIterable for the given double[].values - The double[] to iterate over.replacement - The value to replace removed values with.Copyright © 2015 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.