Class CharIteratorIterate
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.primitive.CharIteratorIterate
-
public final class CharIteratorIterate extends Object
The CharIteratorIterate class provides implementations of the various iteration patterns for use with theCharIterator. This file was automatically generated from template file primitiveIteratorIterate.stg.- Since:
- 5.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanallSatisfy(CharIterator iterator, CharPredicate predicate)static booleananySatisfy(CharIterator iterator, CharPredicate predicate)static <V,R extends Collection<V>>
Rcollect(CharIterator iterator, CharToObjectFunction<? extends V> function, R targetCollection)static intcount(CharIterator iterator, CharPredicate predicate)static chardetectIfNone(CharIterator iterator, CharPredicate predicate, char ifNone)static voidforEach(CharIterator iterator, CharProcedure procedure)static <T> TinjectInto(CharIterator iterator, T injectedValue, ObjectCharToObjectFunction<? super T,? extends T> function)static charmax(CharIterator iterator)static charmin(CharIterator iterator)static booleannoneSatisfy(CharIterator iterator, CharPredicate predicate)static <R extends MutableCharCollection>
Rreject(CharIterator iterator, CharPredicate predicate, R targetCollection)static <R extends MutableCharCollection>
Rselect(CharIterator iterator, CharPredicate predicate, R targetCollection)static longsum(CharIterator iterator)
-
-
-
Method Detail
-
forEach
public static void forEach(CharIterator iterator, CharProcedure procedure)
-
select
public static <R extends MutableCharCollection> R select(CharIterator iterator, CharPredicate predicate, R targetCollection)
-
reject
public static <R extends MutableCharCollection> R reject(CharIterator iterator, CharPredicate predicate, R targetCollection)
-
collect
public static <V,R extends Collection<V>> R collect(CharIterator iterator, CharToObjectFunction<? extends V> function, R targetCollection)
-
detectIfNone
public static char detectIfNone(CharIterator iterator, CharPredicate predicate, char ifNone)
-
count
public static int count(CharIterator iterator, CharPredicate predicate)
-
anySatisfy
public static boolean anySatisfy(CharIterator iterator, CharPredicate predicate)
-
allSatisfy
public static boolean allSatisfy(CharIterator iterator, CharPredicate predicate)
-
noneSatisfy
public static boolean noneSatisfy(CharIterator iterator, CharPredicate predicate)
-
injectInto
public static <T> T injectInto(CharIterator iterator, T injectedValue, ObjectCharToObjectFunction<? super T,? extends T> function)
-
sum
public static long sum(CharIterator iterator)
-
max
public static char max(CharIterator iterator)
-
min
public static char min(CharIterator iterator)
-
-