public final class SparseBooleanArrayIterable extends Object implements ProtectedIterable<Entry<Integer,Boolean>>
SparseBooleanArrayIterable is a ProtectedIterable that generates
Iterators that iterate over a given SparseBooleanArray.
Calling iterator() creates an instance of
SparseBooleanArrayIterator.
| Constructor and Description |
|---|
SparseBooleanArrayIterable(SparseBooleanArray array)
Creates a new
SparseBooleanArrayIterable for the given SparseBooleanArray. |
public SparseBooleanArrayIterable(SparseBooleanArray array) throws IllegalArgumentException
SparseBooleanArrayIterable for the given SparseBooleanArray.array - The SparseBooleanArray to iterate over.IllegalArgumentException - If the given SparseBooleanArray is null.