Class LongIterableIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.LongIterableIterate
This file was automatically generated from template file primitiveIterableIterate.stg.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanallSatisfy(LongIterable iterable, LongPredicate predicate) static booleananySatisfy(LongIterable iterable, LongPredicate predicate) static voidappendString(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 intcount(LongIterable iterable, LongPredicate predicate) static longdetectIfNone(LongIterable iterable, LongPredicate predicate, long ifNone) static voidforEach(LongIterable iterable, LongProcedure procedure) static <T> TinjectInto(LongIterable iterable, T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function) static booleanisEmpty(LongIterable iterable) static longmax(LongIterable iterable) static longmaxIfEmpty(LongIterable iterable, long ifEmpty) static longmin(LongIterable iterable) static longminIfEmpty(LongIterable iterable, long ifEmpty) static booleannoneSatisfy(LongIterable iterable, LongPredicate predicate) static booleannotEmpty(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 longsum(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)
-