Class IntIterableIterate
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.primitive.IntIterableIterate
-
public final class IntIterableIterate 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 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 Detail
-
isEmpty
public static boolean isEmpty(IntIterable iterable)
-
notEmpty
public static boolean notEmpty(IntIterable iterable)
-
forEach
public static void forEach(IntIterable iterable, IntProcedure procedure)
-
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
public static int detectIfNone(IntIterable iterable, IntPredicate predicate, int ifNone)
-
count
public static int count(IntIterable iterable, IntPredicate predicate)
-
anySatisfy
public static boolean anySatisfy(IntIterable iterable, IntPredicate predicate)
-
allSatisfy
public static boolean allSatisfy(IntIterable iterable, IntPredicate predicate)
-
noneSatisfy
public static boolean noneSatisfy(IntIterable iterable, IntPredicate predicate)
-
sum
public static long sum(IntIterable iterable)
-
max
public static int max(IntIterable iterable)
-
maxIfEmpty
public static int maxIfEmpty(IntIterable iterable, int ifEmpty)
-
min
public static int min(IntIterable iterable)
-
minIfEmpty
public static int minIfEmpty(IntIterable iterable, int ifEmpty)
-
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)
-
-