Top Description Constructors Methods
org.eclipse.collections.impl.utility.internal.primitive

public final Class CharIteratorIterate

extends Object
Class Inheritance
Imports
java.util.Collection, org.eclipse.collections.api.block.function.primitive.CharToObjectFunction, .ObjectCharToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.CharPredicate, org.eclipse.collections.api.block.procedure.primitive.CharProcedure, org.eclipse.collections.api.collection.primitive.MutableCharCollection, org.eclipse.collections.api.iterator.CharIterator

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
allSatisfy(CharIterator iterator, CharPredicate predicate)

public static boolean
anySatisfy(CharIterator iterator, CharPredicate predicate)

public static <V, R extends Collection<V>> R
collect(CharIterator iterator, CharToObjectFunction<? extends V> function, R targetCollection)

public static int
count(CharIterator iterator, CharPredicate predicate)

public static char
detectIfNone(CharIterator iterator, CharPredicate predicate, char ifNone)

public static void
forEach(CharIterator iterator, CharProcedure procedure)

public static <T> T
injectInto(CharIterator iterator, T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function)

public static char
max(CharIterator iterator)

public static char
min(CharIterator iterator)

public static boolean
noneSatisfy(CharIterator iterator, CharPredicate predicate)

public static <R extends MutableCharCollection> R
reject(CharIterator iterator, CharPredicate predicate, R targetCollection)

public static <R extends MutableCharCollection> R
select(CharIterator iterator, CharPredicate predicate, R targetCollection)

public static long
sum(CharIterator iterator)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CharIteratorIterateback to summary
private CharIteratorIterate()

Method Detail

allSatisfyback to summary
public static boolean allSatisfy(CharIterator iterator, CharPredicate predicate)
anySatisfyback to summary
public static boolean anySatisfy(CharIterator iterator, CharPredicate predicate)
collectback to summary
public static <V, R extends Collection<V>> R collect(CharIterator iterator, CharToObjectFunction<? extends V> function, R targetCollection)
countback to summary
public static int count(CharIterator iterator, CharPredicate predicate)
detectIfNoneback to summary
public static char detectIfNone(CharIterator iterator, CharPredicate predicate, char ifNone)
forEachback to summary
public static void forEach(CharIterator iterator, CharProcedure procedure)
injectIntoback to summary
public static <T> T injectInto(CharIterator iterator, T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function)
maxback to summary
public static char max(CharIterator iterator)
minback to summary
public static char min(CharIterator iterator)
noneSatisfyback to summary
public static boolean noneSatisfy(CharIterator iterator, CharPredicate predicate)
rejectback to summary
public static <R extends MutableCharCollection> R reject(CharIterator iterator, CharPredicate predicate, R targetCollection)
selectback to summary
public static <R extends MutableCharCollection> R select(CharIterator iterator, CharPredicate predicate, R targetCollection)
sumback to summary
public static long sum(CharIterator iterator)