Class LongArrayIterable

java.lang.Object
org.codehaus.groovy.util.LongArrayIterable
All Implemented Interfaces:
Iterable<Long>

public class LongArrayIterable extends Object implements Iterable<Long>
Allows a long array to be used where an Iterable is expected.
Since:
3.0.8
  • Constructor Details

    • LongArrayIterable

      public LongArrayIterable(long[] array)
      Creates an iterable view that traverses the supplied array in index order.
      Parameters:
      array - the backing array to iterate
  • Method Details