@FunctionalInterface
public interface CharPredicate
Predicate for char values. Adapted from IntPredicate and the like.| Modifier and Type | Method and Description |
|---|---|
default CharPredicate |
and(CharPredicate predicate)
Combine this predicate with another predicate using "
and" boolean logic. |
default CharPredicate |
negate()
Negate this predicate, returning a predicate that always returns the opposite values.
|
default CharPredicate |
or(CharPredicate predicate)
Combine this predicate with another predicate using "
or" boolean logic. |
boolean |
test(char c)
Test this predicate against the given
char. |
boolean test(char c)
char.default CharPredicate negate()
default CharPredicate and(CharPredicate predicate)
and" boolean logic.default CharPredicate or(CharPredicate predicate)
or" boolean logic.