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