Class LongIterableIterate
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.primitive.LongIterableIterate
-
public final class LongIterableIterate extends java.lang.Object
This file was automatically generated from template file primitiveIterableIterate.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Modifier Constructor Description private
LongIterableIterate()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
allSatisfy(LongIterable iterable, LongPredicate predicate)
static boolean
anySatisfy(LongIterable iterable, LongPredicate predicate)
static void
appendString(LongIterable iterable, java.lang.Appendable appendable, java.lang.String start, java.lang.String separator, java.lang.String end)
static <V,R extends java.util.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)
private static <T> java.lang.String
stringValueOfItem(LongIterable iterable, T item)
static long
sum(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 java.util.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, java.lang.Appendable appendable, java.lang.String start, java.lang.String separator, java.lang.String end)
-
injectInto
public static <T> T injectInto(LongIterable iterable, T injectedValue, ObjectLongToObjectFunction<? super T,? extends T> function)
-
stringValueOfItem
private static <T> java.lang.String stringValueOfItem(LongIterable iterable, T item)
-
-