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 boolean
allSatisfy
(IntIterable iterable, IntPredicate predicate) static boolean
anySatisfy
(IntIterable iterable, IntPredicate predicate) static void
appendString
(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 int
count
(IntIterable iterable, IntPredicate predicate) static int
detectIfNone
(IntIterable iterable, IntPredicate predicate, int ifNone) static void
forEach
(IntIterable iterable, IntProcedure procedure) static <T> T
injectInto
(IntIterable iterable, T injectedValue, ObjectIntToObjectFunction<? super T, ? extends T> function) static boolean
isEmpty
(IntIterable iterable) static int
max
(IntIterable iterable) static int
maxIfEmpty
(IntIterable iterable, int ifEmpty) static int
min
(IntIterable iterable) static int
minIfEmpty
(IntIterable iterable, int ifEmpty) static boolean
noneSatisfy
(IntIterable iterable, IntPredicate predicate) static boolean
notEmpty
(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 long
sum
(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)
-