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 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 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)
-
-