@FunctionalInterface
public interface CharPredicate
| Modifier and Type | Method and Description |
|---|---|
static CharPredicate |
alwaysFalse()
Creates a Always false function that may be useful if you don't need to process information or just want a default.
|
static CharPredicate |
alwaysTrue()
Creates a Always true function that may be useful if you don't need to process information or just want a default.
|
default CharPredicate |
andType(CharPredicate other)
A Type specific and-function helper function that reduces boxing/unboxing
|
default CharPredicate |
negate()
A type specific inverter function
|
default CharPredicate |
orType(CharPredicate other)
A Type specific or-function helper function that reduces boxing/unboxing
|
boolean |
test(char k)
Type Specific get function to reduce boxing/unboxing
|
boolean test(char k)
k - the value that should be processedstatic CharPredicate alwaysTrue()
static CharPredicate alwaysFalse()
default CharPredicate andType(CharPredicate other)
other - the other function that should be merged with.default CharPredicate negate()
default CharPredicate orType(CharPredicate other)
other - the other function that should be merged with.