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