Class LongIterableIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.LongIterableIterate
public final class LongIterableIterate 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(LongIterable iterable, LongPredicate predicate)
static boolean
anySatisfy(LongIterable iterable, LongPredicate predicate)
static void
appendString(LongIterable iterable, Appendable appendable, String start, String separator, String end)
static <V, R extends Collection<V>>
Rcollect(LongIterable iterable, LongToObjectFunction<? extends V> function, R targetCollection)
static int
count(LongIterable iterable, LongPredicate predicate)
static long
detectIfNone(LongIterable iterable, LongPredicate predicate, long ifNone)
static void
forEach(LongIterable iterable, LongProcedure procedure)
static <T> T
injectInto(LongIterable iterable, T injectedValue, ObjectLongToObjectFunction<? super T,? extends T> function)
static boolean
isEmpty(LongIterable iterable)
static long
max(LongIterable iterable)
static long
maxIfEmpty(LongIterable iterable, long ifEmpty)
static long
min(LongIterable iterable)
static long
minIfEmpty(LongIterable iterable, long ifEmpty)
static boolean
noneSatisfy(LongIterable iterable, LongPredicate predicate)
static boolean
notEmpty(LongIterable iterable)
static <R extends MutableLongCollection>
Rreject(LongIterable iterable, LongPredicate predicate, R targetCollection)
static <R extends MutableLongCollection>
Rselect(LongIterable iterable, LongPredicate predicate, R targetCollection)
static long
sum(LongIterable iterable)
-
Method Details
-
isEmpty
-
notEmpty
-
forEach
-
select
public static <R extends MutableLongCollection> R select(LongIterable iterable, LongPredicate predicate, R targetCollection) -
reject
public static <R extends MutableLongCollection> R reject(LongIterable iterable, LongPredicate predicate, R targetCollection) -
collect
public static <V, R extends Collection<V>> R collect(LongIterable iterable, LongToObjectFunction<? extends V> function, R targetCollection) -
detectIfNone
-
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
sum
-
max
-
maxIfEmpty
-
min
-
minIfEmpty
-
appendString
public static void appendString(LongIterable iterable, Appendable appendable, String start, String separator, String end) -
injectInto
public static <T> T injectInto(LongIterable iterable, T injectedValue, ObjectLongToObjectFunction<? super T,? extends T> function)
-