Interface FloatPredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a predicate of a boolean.
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull FloatPredicateand(FloatPredicate other) default @NotNull FloatPredicatenegate()default @NotNull FloatPredicateor(FloatPredicate other) booleantest(float input) Evaluates this predicate on the given float.default boolean
-
Method Details
-
test
-
test
boolean test(float input) Evaluates this predicate on the given float.- Parameters:
input- The input value- Returns:
trueif the input argument matches the predicate, otherwisefalse.
-
and
-
or
-
negate
-