java.lang.Iterable<java.lang.Boolean>BooleanCollection, BooleanList, BooleanSetAbstractBooleanCollection, AbstractBooleanList, AbstractBooleanList.BooleanSubList, AbstractBooleanSet, BooleanArrayList, BooleanArraySet, BooleanCollections.EmptyCollection, BooleanCollections.IterableCollection, BooleanCollections.SynchronizedCollection, BooleanCollections.UnmodifiableCollectionpublic interface BooleanIterable
extends java.lang.Iterable<java.lang.Boolean>
Iterable that strengthens that specification of
Iterable.iterator().
Warning: Java will let you write “colon”
for statements with primitive-type loop variables; however, what
is (unfortunately) really happening is that at each iteration an unboxing
(and, in the case of fastutil type-specific data structures, a
boxing) will be performed. Watch out.
Iterable| Modifier and Type | Method | Description |
|---|---|---|
BooleanIterator |
iterator() |
Returns a type-specific iterator.
|
BooleanIterator iterator()
Iterable.iterator().iterator in interface java.lang.Iterable<java.lang.Boolean>