public interface BooleanIterable extends PrimitiveIterable
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(BooleanPredicate predicate) |
boolean |
anySatisfy(BooleanPredicate predicate) |
LazyBooleanIterable |
asLazy() |
BooleanIterator |
booleanIterator() |
<V> RichIterable<V> |
collect(BooleanToObjectFunction<? extends V> function) |
boolean |
contains(boolean value) |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(BooleanIterable source) |
int |
count(BooleanPredicate predicate) |
boolean |
detectIfNone(BooleanPredicate predicate,
boolean ifNone) |
void |
each(BooleanProcedure procedure) |
void |
forEach(BooleanProcedure procedure) |
<T> T |
injectInto(T injectedValue,
ObjectBooleanToObjectFunction<? super T,? extends T> function) |
boolean |
noneSatisfy(BooleanPredicate predicate) |
BooleanIterable |
reject(BooleanPredicate predicate) |
BooleanIterable |
select(BooleanPredicate predicate) |
boolean[] |
toArray() |
MutableBooleanBag |
toBag() |
MutableBooleanList |
toList() |
MutableBooleanSet |
toSet() |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
BooleanIterator booleanIterator()
boolean[] toArray()
boolean contains(boolean value)
boolean containsAll(boolean... source)
boolean containsAll(BooleanIterable source)
void forEach(BooleanProcedure procedure)
void each(BooleanProcedure procedure)
BooleanIterable select(BooleanPredicate predicate)
BooleanIterable reject(BooleanPredicate predicate)
<V> RichIterable<V> collect(BooleanToObjectFunction<? extends V> function)
boolean detectIfNone(BooleanPredicate predicate, boolean ifNone)
int count(BooleanPredicate predicate)
boolean anySatisfy(BooleanPredicate predicate)
boolean allSatisfy(BooleanPredicate predicate)
boolean noneSatisfy(BooleanPredicate predicate)
MutableBooleanList toList()
MutableBooleanSet toSet()
MutableBooleanBag toBag()
LazyBooleanIterable asLazy()
<T> T injectInto(T injectedValue, ObjectBooleanToObjectFunction<? super T,? extends T> function)
Copyright © 2004–2016. All rights reserved.