DoublePredicate
Interface DoublePredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DoublePredicate
Represents a predicate (boolean-valued function) of one double
-valued argument. This is the double
-consuming primitive type specialization of Predicate
.
This is a functional interface whose functional method is test(double)
.
- Since:
- 1.8
- See Also:
Predicate
Methods
test
boolean test(double