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