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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
isEmpty
public static boolean isEmpty(LongIterable iterable)
-
notEmpty
public static boolean notEmpty(LongIterable iterable)
-
forEach
public static void forEach(LongIterable iterable, LongProcedure procedure)
-
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
public static long detectIfNone(LongIterable iterable, LongPredicate predicate, long ifNone)
-
count
public static int count(LongIterable iterable, LongPredicate predicate)
-
anySatisfy
public static boolean anySatisfy(LongIterable iterable, LongPredicate predicate)
-
allSatisfy
public static boolean allSatisfy(LongIterable iterable, LongPredicate predicate)
-
noneSatisfy
public static boolean noneSatisfy(LongIterable iterable, LongPredicate predicate)
-
sum
public static long sum(LongIterable iterable)
-
max
public static long max(LongIterable iterable)
-
maxIfEmpty
public static long maxIfEmpty(LongIterable iterable, long ifEmpty)
-
min
public static long min(LongIterable iterable)
-
minIfEmpty
public static long minIfEmpty(LongIterable iterable, long ifEmpty)
-
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)
-
-