Class CharIterableIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.CharIterableIterate
public final class CharIterableIterate extends Object
This file was automatically generated from template file primitiveIterableIterate.stg.
- Since:
- 5.0
-
Method Summary
Modifier and Type Method Description static booleanallSatisfy(CharIterable iterable, CharPredicate predicate)static booleananySatisfy(CharIterable iterable, CharPredicate predicate)static voidappendString(CharIterable iterable, Appendable appendable, String start, String separator, String end)static <V, R extends Collection<V>>
Rcollect(CharIterable iterable, CharToObjectFunction<? extends V> function, R targetCollection)static intcount(CharIterable iterable, CharPredicate predicate)static chardetectIfNone(CharIterable iterable, CharPredicate predicate, char ifNone)static voidforEach(CharIterable iterable, CharProcedure procedure)static <T> TinjectInto(CharIterable iterable, T injectedValue, ObjectCharToObjectFunction<? super T,? extends T> function)static booleanisEmpty(CharIterable iterable)static charmax(CharIterable iterable)static charmaxIfEmpty(CharIterable iterable, char ifEmpty)static charmin(CharIterable iterable)static charminIfEmpty(CharIterable iterable, char ifEmpty)static booleannoneSatisfy(CharIterable iterable, CharPredicate predicate)static booleannotEmpty(CharIterable iterable)static <R extends MutableCharCollection>
Rreject(CharIterable iterable, CharPredicate predicate, R targetCollection)static <R extends MutableCharCollection>
Rselect(CharIterable iterable, CharPredicate predicate, R targetCollection)static longsum(CharIterable iterable)
-
Method Details
-
isEmpty
-
notEmpty
-
forEach
-
select
public static <R extends MutableCharCollection> R select(CharIterable iterable, CharPredicate predicate, R targetCollection) -
reject
public static <R extends MutableCharCollection> R reject(CharIterable iterable, CharPredicate predicate, R targetCollection) -
collect
public static <V, R extends Collection<V>> R collect(CharIterable iterable, CharToObjectFunction<? extends V> function, R targetCollection) -
detectIfNone
-
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
sum
-
max
-
maxIfEmpty
-
min
-
minIfEmpty
-
appendString
public static void appendString(CharIterable iterable, Appendable appendable, String start, String separator, String end) -
injectInto
public static <T> T injectInto(CharIterable iterable, T injectedValue, ObjectCharToObjectFunction<? super T,? extends T> function)
-