Class ShortIterableIterate
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.primitive.ShortIterableIterate
-
public final class ShortIterableIterate extends Object
This file was automatically generated from template file primitiveIterableIterate.stg.- Since:
- 5.0
-
-
Method Summary
All Methods Static Methods Concrete Methods 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>>
Rcollect(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>
Rreject(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
static <R extends MutableShortCollection>
Rselect(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
static long
sum(ShortIterable iterable)
-
-
-
Method Detail
-
isEmpty
public static boolean isEmpty(ShortIterable iterable)
-
notEmpty
public static boolean notEmpty(ShortIterable iterable)
-
forEach
public static void forEach(ShortIterable iterable, ShortProcedure procedure)
-
select
public static <R extends MutableShortCollection> R select(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
-
reject
public static <R extends MutableShortCollection> R reject(ShortIterable iterable, ShortPredicate predicate, R targetCollection)
-
collect
public static <V,R extends Collection<V>> R collect(ShortIterable iterable, ShortToObjectFunction<? extends V> function, R targetCollection)
-
detectIfNone
public static short detectIfNone(ShortIterable iterable, ShortPredicate predicate, short ifNone)
-
count
public static int count(ShortIterable iterable, ShortPredicate predicate)
-
anySatisfy
public static boolean anySatisfy(ShortIterable iterable, ShortPredicate predicate)
-
allSatisfy
public static boolean allSatisfy(ShortIterable iterable, ShortPredicate predicate)
-
noneSatisfy
public static boolean noneSatisfy(ShortIterable iterable, ShortPredicate predicate)
-
sum
public static long sum(ShortIterable iterable)
-
max
public static short max(ShortIterable iterable)
-
maxIfEmpty
public static short maxIfEmpty(ShortIterable iterable, short ifEmpty)
-
min
public static short min(ShortIterable iterable)
-
minIfEmpty
public static short minIfEmpty(ShortIterable iterable, short ifEmpty)
-
appendString
public static void appendString(ShortIterable iterable, Appendable appendable, String start, String separator, String end)
-
injectInto
public static <T> T injectInto(ShortIterable iterable, T injectedValue, ObjectShortToObjectFunction<? super T,? extends T> function)
-
-