Package org.codehaus.groovy.util
Class BooleanArrayIterator
java.lang.Object
org.codehaus.groovy.util.BooleanArrayIterator
Allows a boolean array to be used where an Iterator is expected.
- Since:
- 3.0.8
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanArrayIterator(boolean[] array) Creates an iterator that traverses the supplied array in index order. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
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