Class CharIteratorIterate
java.lang.Object
org.eclipse.collections.impl.utility.internal.primitive.CharIteratorIterate
The CharIteratorIterate class provides implementations of the various iteration patterns for use with the
CharIterator.
This file was automatically generated from template file primitiveIteratorIterate.stg.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
forEach
-
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
-
count
-
anySatisfy
-
allSatisfy
-
noneSatisfy
-
injectInto
public static <T> T injectInto(CharIterator iterator, T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function) -
sum
-
max
-
min
-