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