public final class BooleanArrayIterable extends Object implements ProtectedIterable<Boolean>
BooleanArrayIterable is a ProtectedIterable that generates
Iterators that iterate over a given boolean[].
Calling iterator() creates an instance of
BooleanArrayIterator.
| Constructor and Description |
|---|
BooleanArrayIterable(boolean[] array)
Creates a new
BooleanArrayIterable for the given
boolean[]. |
| Modifier and Type | Method and Description |
|---|---|
BooleanArrayIterator |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic BooleanArrayIterable(boolean[] array)
throws IllegalArgumentException
BooleanArrayIterable for the given
boolean[].array - The boolean[] to iterate over.IllegalArgumentException - If the given boolean[] is null.public BooleanArrayIterator iterator()
Copyright © 2015–2016 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.