Top Description Fields Constructors Methods
org.codehaus.groovy.util

public Class DoubleArrayIterable

extends Object
implements Iterable<Double>
Class Inheritance
All Implemented Interfaces
java.lang.Iterable
Imports
java.util.Iterator

Allow a double array to be used where an Iterable is expected.
Since
3.0.8

Field Summary

Modifier and TypeField and Description
private final double[]

Constructor Summary

AccessConstructor and Description
public
DoubleArrayIterable(double[] array)

Method Summary

Modifier and TypeMethod and Description
public Iterator<Double>
iterator()

Implements java.lang.Iterable.iterator.

Returns an iterator over elements of type T.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

arrayback to summary
private final double[] array

Constructor Detail

DoubleArrayIterableback to summary
public DoubleArrayIterable(double[] array)

Method Detail

iteratorback to summary
public Iterator<Double> iterator()

Implements java.lang.Iterable.iterator.

Doc from java.lang.Iterable.iterator.

Returns an iterator over elements of type T.

Returns:Iterator<Double>

an Iterator.

Annotations
@Override