Class ShortArrayIterator

java.lang.Object
org.codehaus.groovy.util.ShortArrayIterator
All Implemented Interfaces:
Iterator<Short>

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

    • ShortArrayIterator

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