Class DoubleIterableIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.DoubleIterableIterate
public final class DoubleIterableIterate extends Object
This file was automatically generated from template file primitiveIterableIterate.stg.
- Since:
- 5.0
-
Method Summary
Modifier and Type Method Description static boolean
allSatisfy(DoubleIterable iterable, DoublePredicate predicate)
static boolean
anySatisfy(DoubleIterable iterable, DoublePredicate predicate)
static void
appendString(DoubleIterable iterable, Appendable appendable, String start, String separator, String end)
static <V, R extends Collection<V>>
Rcollect(DoubleIterable iterable, DoubleToObjectFunction<? extends V> function, R targetCollection)
static int
count(DoubleIterable iterable, DoublePredicate predicate)
static double
detectIfNone(DoubleIterable iterable, DoublePredicate predicate, double ifNone)
static void
forEach(DoubleIterable iterable, DoubleProcedure procedure)
static <T> T
injectInto(DoubleIterable iterable, T injectedValue, ObjectDoubleToObjectFunction<? super T,? extends T> function)
static boolean
isEmpty(DoubleIterable iterable)
static double
max(DoubleIterable iterable)
static double
maxIfEmpty(DoubleIterable iterable, double ifEmpty)
static double
min(DoubleIterable iterable)
static double
minIfEmpty(DoubleIterable iterable, double ifEmpty)
static boolean
noneSatisfy(DoubleIterable iterable, DoublePredicate predicate)
static boolean
notEmpty(DoubleIterable iterable)
static <R extends MutableDoubleCollection>
Rreject(DoubleIterable iterable, DoublePredicate predicate, R targetCollection)
static <R extends MutableDoubleCollection>
Rselect(DoubleIterable iterable, DoublePredicate predicate, R targetCollection)
static double
sum(DoubleIterable iterable)
-
Method Details
-
isEmpty
-
notEmpty
-
forEach
-
select
public static <R extends MutableDoubleCollection> R select(DoubleIterable iterable, DoublePredicate predicate, R targetCollection) -
reject
public static <R extends MutableDoubleCollection> R reject(DoubleIterable iterable, DoublePredicate predicate, R targetCollection) -
collect
public static <V, R extends Collection<V>> R collect(DoubleIterable iterable, DoubleToObjectFunction<? extends V> function, R targetCollection) -
detectIfNone
public static double detectIfNone(DoubleIterable iterable, DoublePredicate predicate, double ifNone) -
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
sum
-
max
-
maxIfEmpty
-
min
-
minIfEmpty
-
appendString
public static void appendString(DoubleIterable iterable, Appendable appendable, String start, String separator, String end) -
injectInto
public static <T> T injectInto(DoubleIterable iterable, T injectedValue, ObjectDoubleToObjectFunction<? super T,? extends T> function)
-