Class BooleanArrayIterator

java.lang.Object
org.codehaus.groovy.util.BooleanArrayIterator
All Implemented Interfaces:
Iterator<Boolean>

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

    • BooleanArrayIterator

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