public final class LongIterableIterate extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allSatisfy(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
static boolean |
anySatisfy(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
static void |
appendString(org.eclipse.collections.api.LongIterable iterable,
Appendable appendable,
String start,
String separator,
String end) |
static <V,R extends Collection<V>> |
collect(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function,
R targetCollection) |
static int |
count(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
static long |
detectIfNone(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
long ifNone) |
static void |
forEach(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
static <T> T |
injectInto(org.eclipse.collections.api.LongIterable iterable,
T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectLongToObjectFunction<? super T,? extends T> function) |
static boolean |
isEmpty(org.eclipse.collections.api.LongIterable iterable) |
static long |
max(org.eclipse.collections.api.LongIterable iterable) |
static long |
maxIfEmpty(org.eclipse.collections.api.LongIterable iterable,
long ifEmpty) |
static long |
min(org.eclipse.collections.api.LongIterable iterable) |
static long |
minIfEmpty(org.eclipse.collections.api.LongIterable iterable,
long ifEmpty) |
static boolean |
noneSatisfy(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
static boolean |
notEmpty(org.eclipse.collections.api.LongIterable iterable) |
static <R extends org.eclipse.collections.api.collection.primitive.MutableLongCollection> |
reject(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
R targetCollection) |
static <R extends org.eclipse.collections.api.collection.primitive.MutableLongCollection> |
select(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
R targetCollection) |
static long |
sum(org.eclipse.collections.api.LongIterable iterable) |
public static boolean isEmpty(org.eclipse.collections.api.LongIterable iterable)
public static boolean notEmpty(org.eclipse.collections.api.LongIterable iterable)
public static void forEach(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
public static <R extends org.eclipse.collections.api.collection.primitive.MutableLongCollection> R select(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
R targetCollection)
public static <R extends org.eclipse.collections.api.collection.primitive.MutableLongCollection> R reject(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
R targetCollection)
public static <V,R extends Collection<V>> R collect(org.eclipse.collections.api.LongIterable iterable, org.eclipse.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function, R targetCollection)
public static long detectIfNone(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
long ifNone)
public static int count(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
public static boolean anySatisfy(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
public static boolean allSatisfy(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
public static boolean noneSatisfy(org.eclipse.collections.api.LongIterable iterable,
org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
public static long sum(org.eclipse.collections.api.LongIterable iterable)
public static long max(org.eclipse.collections.api.LongIterable iterable)
public static long maxIfEmpty(org.eclipse.collections.api.LongIterable iterable,
long ifEmpty)
public static long min(org.eclipse.collections.api.LongIterable iterable)
public static long minIfEmpty(org.eclipse.collections.api.LongIterable iterable,
long ifEmpty)
public static void appendString(org.eclipse.collections.api.LongIterable iterable,
Appendable appendable,
String start,
String separator,
String end)
public static <T> T injectInto(org.eclipse.collections.api.LongIterable iterable,
T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectLongToObjectFunction<? super T,? extends T> function)
Copyright © 2004–2017. All rights reserved.