Class FloatIteratorIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.FloatIteratorIterate
The FloatIteratorIterate class provides implementations of the various iteration patterns for use with the
FloatIterator
.
This file was automatically generated from template file primitiveIteratorIterate.stg.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
allSatisfy
(FloatIterator iterator, FloatPredicate predicate) static boolean
anySatisfy
(FloatIterator iterator, FloatPredicate predicate) static <V,
R extends Collection<V>>
Rcollect
(FloatIterator iterator, FloatToObjectFunction<? extends V> function, R targetCollection) static int
count
(FloatIterator iterator, FloatPredicate predicate) static float
detectIfNone
(FloatIterator iterator, FloatPredicate predicate, float ifNone) static void
forEach
(FloatIterator iterator, FloatProcedure procedure) static <T> T
injectInto
(FloatIterator iterator, T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function) static float
max
(FloatIterator iterator) static float
min
(FloatIterator iterator) static boolean
noneSatisfy
(FloatIterator iterator, FloatPredicate predicate) static <R extends MutableFloatCollection>
Rreject
(FloatIterator iterator, FloatPredicate predicate, R targetCollection) static <R extends MutableFloatCollection>
Rselect
(FloatIterator iterator, FloatPredicate predicate, R targetCollection) static double
sum
(FloatIterator iterator)
-
Method Details
-
forEach
-
select
public static <R extends MutableFloatCollection> R select(FloatIterator iterator, FloatPredicate predicate, R targetCollection) -
reject
public static <R extends MutableFloatCollection> R reject(FloatIterator iterator, FloatPredicate predicate, R targetCollection) -
collect
public static <V,R extends Collection<V>> R collect(FloatIterator iterator, FloatToObjectFunction<? extends V> function, R targetCollection) -
detectIfNone
-
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
injectInto
public static <T> T injectInto(FloatIterator iterator, T injectedValue, ObjectFloatToObjectFunction<? super T, ? extends T> function) -
sum
-
max
-
min
-