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