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