public class CollectBooleanIterable<T> extends AbstractLazyBooleanIterable
| Constructor and Description |
|---|
CollectBooleanIterable(LazyIterable<T> adapted,
BooleanFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(BooleanPredicate predicate) |
boolean |
anySatisfy(BooleanPredicate predicate) |
BooleanIterator |
booleanIterator() |
boolean |
containsAll(boolean... source) |
boolean |
containsAll(BooleanIterable source) |
int |
count(BooleanPredicate predicate) |
void |
each(BooleanProcedure procedure) |
void |
forEach(BooleanProcedure procedure) |
boolean |
isEmpty() |
boolean |
noneSatisfy(BooleanPredicate predicate) |
boolean |
notEmpty() |
int |
size() |
boolean[] |
toArray() |
MutableBooleanBag |
toBag() |
MutableBooleanList |
toList() |
MutableBooleanSet |
toSet() |
appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, reject, select, tap, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcollect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, reduce, reduceIfEmpty, reject, select, toArraypublic CollectBooleanIterable(LazyIterable<T> adapted, BooleanFunction<? super T> function)
public BooleanIterator booleanIterator()
public void forEach(BooleanProcedure procedure)
public void each(BooleanProcedure procedure)
public int size()
size in interface PrimitiveIterablesize in class AbstractLazyBooleanIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyBooleanIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyBooleanIterablepublic int count(BooleanPredicate predicate)
count in interface BooleanIterablecount in class AbstractLazyBooleanIterablepublic boolean anySatisfy(BooleanPredicate predicate)
anySatisfy in interface BooleanIterableanySatisfy in class AbstractLazyBooleanIterablepublic boolean allSatisfy(BooleanPredicate predicate)
allSatisfy in interface BooleanIterableallSatisfy in class AbstractLazyBooleanIterablepublic boolean noneSatisfy(BooleanPredicate predicate)
noneSatisfy in interface BooleanIterablenoneSatisfy in class AbstractLazyBooleanIterablepublic boolean[] toArray()
toArray in interface BooleanIterabletoArray in class AbstractLazyBooleanIterablepublic MutableBooleanList toList()
toList in interface BooleanIterabletoList in class AbstractLazyBooleanIterablepublic MutableBooleanSet toSet()
toSet in interface BooleanIterabletoSet in class AbstractLazyBooleanIterablepublic MutableBooleanBag toBag()
toBag in interface BooleanIterabletoBag in class AbstractLazyBooleanIterablepublic boolean containsAll(boolean... source)
containsAll in interface BooleanIterablecontainsAll in class AbstractLazyBooleanIterablepublic boolean containsAll(BooleanIterable source)
containsAll in interface BooleanIterablecontainsAll in class AbstractLazyBooleanIterableCopyright © 2004–2022. All rights reserved.