public final class ShortIterableIterate extends Object
Modifier and Type | Method | Description |
---|---|---|
static boolean |
allSatisfy(ShortIterable iterable,
ShortPredicate predicate) |
|
static boolean |
anySatisfy(ShortIterable iterable,
ShortPredicate predicate) |
|
static void |
appendString(ShortIterable iterable,
Appendable appendable,
String start,
String separator,
String end) |
|
static <V,R extends Collection<V>> |
collect(ShortIterable iterable,
ShortToObjectFunction<? extends V> function,
R targetCollection) |
|
static int |
count(ShortIterable iterable,
ShortPredicate predicate) |
|
static short |
detectIfNone(ShortIterable iterable,
ShortPredicate predicate,
short ifNone) |
|
static void |
forEach(ShortIterable iterable,
ShortProcedure procedure) |
|
static <T> T |
injectInto(ShortIterable iterable,
T injectedValue,
ObjectShortToObjectFunction<? super T,? extends T> function) |
|
static boolean |
isEmpty(ShortIterable iterable) |
|
static short |
max(ShortIterable iterable) |
|
static short |
maxIfEmpty(ShortIterable iterable,
short ifEmpty) |
|
static short |
min(ShortIterable iterable) |
|
static short |
minIfEmpty(ShortIterable iterable,
short ifEmpty) |
|
static boolean |
noneSatisfy(ShortIterable iterable,
ShortPredicate predicate) |
|
static boolean |
notEmpty(ShortIterable iterable) |
|
static <R extends MutableShortCollection> |
reject(ShortIterable iterable,
ShortPredicate predicate,
R targetCollection) |
|
static <R extends MutableShortCollection> |
select(ShortIterable iterable,
ShortPredicate predicate,
R targetCollection) |
|
static long |
sum(ShortIterable iterable) |
public static boolean isEmpty(ShortIterable iterable)
public static boolean notEmpty(ShortIterable iterable)
public static void forEach(ShortIterable iterable, ShortProcedure procedure)
public static <R extends MutableShortCollection> R select(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
public static <R extends MutableShortCollection> R reject(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
public static <V,R extends Collection<V>> R collect(ShortIterable iterable, ShortToObjectFunction<? extends V> function, R targetCollection)
public static short detectIfNone(ShortIterable iterable, ShortPredicate predicate, short ifNone)
public static int count(ShortIterable iterable, ShortPredicate predicate)
public static boolean anySatisfy(ShortIterable iterable, ShortPredicate predicate)
public static boolean allSatisfy(ShortIterable iterable, ShortPredicate predicate)
public static boolean noneSatisfy(ShortIterable iterable, ShortPredicate predicate)
public static long sum(ShortIterable iterable)
public static short max(ShortIterable iterable)
public static short maxIfEmpty(ShortIterable iterable, short ifEmpty)
public static short min(ShortIterable iterable)
public static short minIfEmpty(ShortIterable iterable, short ifEmpty)
public static void appendString(ShortIterable iterable, Appendable appendable, String start, String separator, String end)
public static <T> T injectInto(ShortIterable iterable, T injectedValue, ObjectShortToObjectFunction<? super T,? extends T> function)
Copyright © 2004–2019. All rights reserved.