Class LongArrayIterator

java.lang.Object
org.codehaus.groovy.util.LongArrayIterator
All Implemented Interfaces:
Iterator<Long>

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

    • LongArrayIterator

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