Class BooleanIteratorIterate
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.primitive.BooleanIteratorIterate
-
public final class BooleanIteratorIterate extends Object
The BooleanIteratorIterate class provides implementations of the various iteration patterns for use with theBooleanIterator. This file was automatically generated from template file primitiveIteratorIterate.stg.- Since:
- 5.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
forEach
public static void forEach(BooleanIterator iterator, BooleanProcedure procedure)
-
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
public static int count(BooleanIterator iterator, BooleanPredicate predicate)
-
anySatisfy
public static boolean anySatisfy(BooleanIterator iterator, BooleanPredicate predicate)
-
allSatisfy
public static boolean allSatisfy(BooleanIterator iterator, BooleanPredicate predicate)
-
noneSatisfy
public static boolean noneSatisfy(BooleanIterator iterator, BooleanPredicate predicate)
-
injectInto
public static <T> T injectInto(BooleanIterator iterator, T injectedValue, ObjectBooleanToObjectFunction<? super T,? extends T> function)
-
-