Class FloatArrayIterator

java.lang.Object
org.codehaus.groovy.util.FloatArrayIterator
All Implemented Interfaces:
Iterator<Float>

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

    • FloatArrayIterator

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