public final class DoubleArrayIterable extends Object implements ProtectedBidirectionalIterable<Double>
DoubleArrayIterable is a ProtectedBidirectionalIterable
that generates Iterators that iterate over a given
double[].| Constructor and Description |
|---|
DoubleArrayIterable(double... array)
Creates a new
DoubleArrayIterable. |
| Modifier and Type | Method and Description |
|---|---|
DoubleArrayIterator |
iterator()
Returns a
ProtectedIterator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DoubleArrayIterable(double... array)
throws IllegalArgumentException
DoubleArrayIterable.array - The double[] to iterate over.IllegalArgumentException - If the given double[] is null.public DoubleArrayIterator iterator()
ProtectedBidirectionalIterableProtectedIterator.iterator in interface Iterable<Double>iterator in interface BidirectionalIterable<Double>iterator in interface ProtectedBidirectionalIterable<Double>ProtectedIterator.Copyright © 2015–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.