Class DoubleDoubleArrayColumnIterator

java.lang.Object
org.codehaus.groovy.util.DoubleDoubleArrayColumnIterator
All Implemented Interfaces:
Iterator<double[]>

public class DoubleDoubleArrayColumnIterator extends Object implements Iterator<double[]>
An iterator providing the columns of a double[][]. In the case of an array with different size rows, the number of columns will be equal to the length of the smallest row.
Since:
5.0.0
  • Constructor Details

    • DoubleDoubleArrayColumnIterator

      public DoubleDoubleArrayColumnIterator(double[][] array)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<double[]>
    • next

      public double[] next()
      Specified by:
      next in interface Iterator<double[]>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<double[]>