public final class CharIterableIterate extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
allSatisfy(CharIterable iterable,
CharPredicate predicate) |
static boolean |
anySatisfy(CharIterable iterable,
CharPredicate predicate) |
static void |
appendString(CharIterable iterable,
Appendable appendable,
String start,
String separator,
String end) |
static <V,R extends Collection<V>> |
collect(CharIterable iterable,
CharToObjectFunction<? extends V> function,
R targetCollection) |
static int |
count(CharIterable iterable,
CharPredicate predicate) |
static char |
detectIfNone(CharIterable iterable,
CharPredicate predicate,
char ifNone) |
static void |
forEach(CharIterable iterable,
CharProcedure procedure) |
static <T> T |
injectInto(CharIterable iterable,
T injectedValue,
ObjectCharToObjectFunction<? super T,? extends T> function) |
static boolean |
isEmpty(CharIterable iterable) |
static char |
max(CharIterable iterable) |
static char |
maxIfEmpty(CharIterable iterable,
char ifEmpty) |
static char |
min(CharIterable iterable) |
static char |
minIfEmpty(CharIterable iterable,
char ifEmpty) |
static boolean |
noneSatisfy(CharIterable iterable,
CharPredicate predicate) |
static boolean |
notEmpty(CharIterable iterable) |
static <R extends MutableCharCollection> |
reject(CharIterable iterable,
CharPredicate predicate,
R targetCollection) |
static <R extends MutableCharCollection> |
select(CharIterable iterable,
CharPredicate predicate,
R targetCollection) |
static long |
sum(CharIterable iterable) |
public static boolean isEmpty(CharIterable iterable)
public static boolean notEmpty(CharIterable iterable)
public static void forEach(CharIterable iterable, CharProcedure procedure)
public static <R extends MutableCharCollection> R select(CharIterable iterable, CharPredicate predicate, R targetCollection)
public static <R extends MutableCharCollection> R reject(CharIterable iterable, CharPredicate predicate, R targetCollection)
public static <V,R extends Collection<V>> R collect(CharIterable iterable, CharToObjectFunction<? extends V> function, R targetCollection)
public static char detectIfNone(CharIterable iterable, CharPredicate predicate, char ifNone)
public static int count(CharIterable iterable, CharPredicate predicate)
public static boolean anySatisfy(CharIterable iterable, CharPredicate predicate)
public static boolean allSatisfy(CharIterable iterable, CharPredicate predicate)
public static boolean noneSatisfy(CharIterable iterable, CharPredicate predicate)
public static long sum(CharIterable iterable)
public static char max(CharIterable iterable)
public static char maxIfEmpty(CharIterable iterable, char ifEmpty)
public static char min(CharIterable iterable)
public static char minIfEmpty(CharIterable iterable, char ifEmpty)
public static void appendString(CharIterable iterable, Appendable appendable, String start, String separator, String end)
public static <T> T injectInto(CharIterable iterable, T injectedValue, ObjectCharToObjectFunction<? super T,? extends T> function)
Copyright © 2004–2016. All rights reserved.