Class DoubleArrayIterator

java.lang.Object
org.codehaus.groovy.util.DoubleArrayIterator
All Implemented Interfaces:
Iterator<Double>

public class DoubleArrayIterator extends Object implements Iterator<Double>
Allows a double array to be used where an Iterator is expected.
Since:
3.0.8
  • Constructor Details

    • DoubleArrayIterator

      public DoubleArrayIterator(double[] array)
      Creates an iterator that traverses the supplied array in index order.
      Parameters:
      array - the backing array to iterate
  • Method Details