public final class ShortIterableIterate
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allSatisfy(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate) |
static boolean |
anySatisfy(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate) |
static void |
appendString(com.gs.collections.api.ShortIterable 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>> |
collect(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function,
R targetCollection) |
static int |
count(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate) |
static short |
detectIfNone(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate,
short ifNone) |
static void |
forEach(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.procedure.primitive.ShortProcedure procedure) |
static <T> T |
injectInto(com.gs.collections.api.ShortIterable iterable,
T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectShortToObjectFunction<? super T,? extends T> function) |
static boolean |
isEmpty(com.gs.collections.api.ShortIterable iterable) |
static short |
max(com.gs.collections.api.ShortIterable iterable) |
static short |
maxIfEmpty(com.gs.collections.api.ShortIterable iterable,
short ifEmpty) |
static short |
min(com.gs.collections.api.ShortIterable iterable) |
static short |
minIfEmpty(com.gs.collections.api.ShortIterable iterable,
short ifEmpty) |
static boolean |
noneSatisfy(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate) |
static boolean |
notEmpty(com.gs.collections.api.ShortIterable iterable) |
static <R extends com.gs.collections.api.collection.primitive.MutableShortCollection> |
reject(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate,
R targetCollection) |
static <R extends com.gs.collections.api.collection.primitive.MutableShortCollection> |
select(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate,
R targetCollection) |
static long |
sum(com.gs.collections.api.ShortIterable iterable) |
public static boolean isEmpty(com.gs.collections.api.ShortIterable iterable)
public static boolean notEmpty(com.gs.collections.api.ShortIterable iterable)
public static void forEach(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.procedure.primitive.ShortProcedure procedure)
public static <R extends com.gs.collections.api.collection.primitive.MutableShortCollection> R select(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate,
R targetCollection)
public static <R extends com.gs.collections.api.collection.primitive.MutableShortCollection> R reject(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate,
R targetCollection)
public static <V,R extends java.util.Collection<V>> R collect(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function,
R targetCollection)
public static short detectIfNone(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate,
short ifNone)
public static int count(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate)
public static boolean anySatisfy(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate)
public static boolean allSatisfy(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate)
public static boolean noneSatisfy(com.gs.collections.api.ShortIterable iterable,
com.gs.collections.api.block.predicate.primitive.ShortPredicate predicate)
public static long sum(com.gs.collections.api.ShortIterable iterable)
public static short max(com.gs.collections.api.ShortIterable iterable)
public static short maxIfEmpty(com.gs.collections.api.ShortIterable iterable,
short ifEmpty)
public static short min(com.gs.collections.api.ShortIterable iterable)
public static short minIfEmpty(com.gs.collections.api.ShortIterable iterable,
short ifEmpty)
public static void appendString(com.gs.collections.api.ShortIterable iterable,
java.lang.Appendable appendable,
java.lang.String start,
java.lang.String separator,
java.lang.String end)
public static <T> T injectInto(com.gs.collections.api.ShortIterable iterable,
T injectedValue,
com.gs.collections.api.block.function.primitive.ObjectShortToObjectFunction<? super T,? extends T> function)