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
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 Details
-
isEmpty
-
notEmpty
-
forEach
-
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
-
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
sum
-
max
-
maxIfEmpty
-
min
-
minIfEmpty
-
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)
-