Class IntIterableIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.IntIterableIterate
This file was automatically generated from template file primitiveIterableIterate.stg.
- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanallSatisfy(IntIterable iterable, IntPredicate predicate) static booleananySatisfy(IntIterable iterable, IntPredicate predicate) static voidappendString(IntIterable iterable, Appendable appendable, String start, String separator, String end) static <V,R extends Collection<V>>
Rcollect(IntIterable iterable, IntToObjectFunction<? extends V> function, R targetCollection) static intcount(IntIterable iterable, IntPredicate predicate) static intdetectIfNone(IntIterable iterable, IntPredicate predicate, int ifNone) static voidforEach(IntIterable iterable, IntProcedure procedure) static <T> TinjectInto(IntIterable iterable, T injectedValue, ObjectIntToObjectFunction<? super T, ? extends T> function) static booleanisEmpty(IntIterable iterable) static intmax(IntIterable iterable) static intmaxIfEmpty(IntIterable iterable, int ifEmpty) static intmin(IntIterable iterable) static intminIfEmpty(IntIterable iterable, int ifEmpty) static booleannoneSatisfy(IntIterable iterable, IntPredicate predicate) static booleannotEmpty(IntIterable iterable) static <R extends MutableIntCollection>
Rreject(IntIterable iterable, IntPredicate predicate, R targetCollection) static <R extends MutableIntCollection>
Rselect(IntIterable iterable, IntPredicate predicate, R targetCollection) static longsum(IntIterable iterable)
-
Method Details
-
isEmpty
-
notEmpty
-
forEach
-
select
public static <R extends MutableIntCollection> R select(IntIterable iterable, IntPredicate predicate, R targetCollection) -
reject
public static <R extends MutableIntCollection> R reject(IntIterable iterable, IntPredicate predicate, R targetCollection) -
collect
public static <V,R extends Collection<V>> R collect(IntIterable iterable, IntToObjectFunction<? extends V> function, R targetCollection) -
detectIfNone
-
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
sum
-
max
-
maxIfEmpty
-
min
-
minIfEmpty
-
appendString
public static void appendString(IntIterable iterable, Appendable appendable, String start, String separator, String end) -
injectInto
public static <T> T injectInto(IntIterable iterable, T injectedValue, ObjectIntToObjectFunction<? super T, ? extends T> function)
-