Class CollectBooleanIterable<T>
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
org.eclipse.collections.impl.lazy.primitive.CollectBooleanIterable<T>
- All Implemented Interfaces:
BooleanIterable,LazyBooleanIterable,PrimitiveIterable
A CollectIntIterable is an iterable that transforms a source iterable using an IntFunction as it iterates.
-
Constructor Summary
ConstructorsConstructorDescriptionCollectBooleanIterable(LazyIterable<T> adapted, BooleanFunction<? super T> function) -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(BooleanPredicate predicate) booleananySatisfy(BooleanPredicate predicate) booleancontainsAll(boolean... source) booleancontainsAll(BooleanIterable source) intcount(BooleanPredicate predicate) voideach(BooleanProcedure procedure) voidforEach(BooleanProcedure procedure) booleanisEmpty()booleannoneSatisfy(BooleanPredicate predicate) booleannotEmpty()intsize()boolean[]toArray()toBag()toList()toSet()Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyBooleanIterable
appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, reject, select, tap, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.BooleanIterable
collect, 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, toArray
-
Constructor Details
-
CollectBooleanIterable
-
-
Method Details
-
booleanIterator
-
forEach
-
each
- Since:
- 7.0.
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyBooleanIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyBooleanIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyBooleanIterable
-
count
- Specified by:
countin interfaceBooleanIterable- Overrides:
countin classAbstractLazyBooleanIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceBooleanIterable- Overrides:
anySatisfyin classAbstractLazyBooleanIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceBooleanIterable- Overrides:
allSatisfyin classAbstractLazyBooleanIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceBooleanIterable- Overrides:
noneSatisfyin classAbstractLazyBooleanIterable
-
toArray
public boolean[] toArray()- Specified by:
toArrayin interfaceBooleanIterable- Overrides:
toArrayin classAbstractLazyBooleanIterable
-
toList
- Specified by:
toListin interfaceBooleanIterable- Overrides:
toListin classAbstractLazyBooleanIterable
-
toSet
- Specified by:
toSetin interfaceBooleanIterable- Overrides:
toSetin classAbstractLazyBooleanIterable
-
toBag
- Specified by:
toBagin interfaceBooleanIterable- Overrides:
toBagin classAbstractLazyBooleanIterable
-
containsAll
public boolean containsAll(boolean... source) - Specified by:
containsAllin interfaceBooleanIterable- Overrides:
containsAllin classAbstractLazyBooleanIterable
-
containsAll
- Specified by:
containsAllin interfaceBooleanIterable- Overrides:
containsAllin classAbstractLazyBooleanIterable
-