Class BooleanIteratorIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.BooleanIteratorIterate
The BooleanIteratorIterate class provides implementations of the various iteration patterns for use with the
BooleanIterator.
This file was automatically generated from template file primitiveIteratorIterate.stg.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanallSatisfy(BooleanIterator iterator, BooleanPredicate predicate) static booleananySatisfy(BooleanIterator iterator, BooleanPredicate predicate) static <V,R extends Collection<V>>
Rcollect(BooleanIterator iterator, BooleanToObjectFunction<? extends V> function, R targetCollection) static intcount(BooleanIterator iterator, BooleanPredicate predicate) static booleandetectIfNone(BooleanIterator iterator, BooleanPredicate predicate, boolean ifNone) static voidforEach(BooleanIterator iterator, BooleanProcedure procedure) static <T> TinjectInto(BooleanIterator iterator, T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function) static booleannoneSatisfy(BooleanIterator iterator, BooleanPredicate predicate) static <R extends MutableBooleanCollection>
Rreject(BooleanIterator iterator, BooleanPredicate predicate, R targetCollection) static <R extends MutableBooleanCollection>
Rselect(BooleanIterator iterator, BooleanPredicate predicate, R targetCollection)
-
Method Details
-
forEach
-
select
public static <R extends MutableBooleanCollection> R select(BooleanIterator iterator, BooleanPredicate predicate, R targetCollection) -
reject
public static <R extends MutableBooleanCollection> R reject(BooleanIterator iterator, BooleanPredicate predicate, R targetCollection) -
collect
public static <V,R extends Collection<V>> R collect(BooleanIterator iterator, BooleanToObjectFunction<? extends V> function, R targetCollection) -
detectIfNone
public static boolean detectIfNone(BooleanIterator iterator, BooleanPredicate predicate, boolean ifNone) -
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
injectInto
public static <T> T injectInto(BooleanIterator iterator, T injectedValue, ObjectBooleanToObjectFunction<? super T, ? extends T> function)
-