Class FloatIteratorIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.FloatIteratorIterate
public final class FloatIteratorIterate extends Object
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 Type Method Description static booleanallSatisfy(FloatIterator iterator, FloatPredicate predicate)static booleananySatisfy(FloatIterator iterator, FloatPredicate predicate)static <V, R extends Collection<V>>
Rcollect(FloatIterator iterator, FloatToObjectFunction<? extends V> function, R targetCollection)static intcount(FloatIterator iterator, FloatPredicate predicate)static floatdetectIfNone(FloatIterator iterator, FloatPredicate predicate, float ifNone)static voidforEach(FloatIterator iterator, FloatProcedure procedure)static <T> TinjectInto(FloatIterator iterator, T injectedValue, ObjectFloatToObjectFunction<? super T,? extends T> function)static floatmax(FloatIterator iterator)static floatmin(FloatIterator iterator)static booleannoneSatisfy(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 doublesum(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
-