Class ShortIterableIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.ShortIterableIterate
This file was automatically generated from template file primitiveIterableIterate.stg.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanallSatisfy(ShortIterable iterable, ShortPredicate predicate) static booleananySatisfy(ShortIterable iterable, ShortPredicate predicate) static voidappendString(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 intcount(ShortIterable iterable, ShortPredicate predicate) static shortdetectIfNone(ShortIterable iterable, ShortPredicate predicate, short ifNone) static voidforEach(ShortIterable iterable, ShortProcedure procedure) static <T> TinjectInto(ShortIterable iterable, T injectedValue, ObjectShortToObjectFunction<? super T, ? extends T> function) static booleanisEmpty(ShortIterable iterable) static shortmax(ShortIterable iterable) static shortmaxIfEmpty(ShortIterable iterable, short ifEmpty) static shortmin(ShortIterable iterable) static shortminIfEmpty(ShortIterable iterable, short ifEmpty) static booleannoneSatisfy(ShortIterable iterable, ShortPredicate predicate) static booleannotEmpty(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 longsum(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)
-