Interface ThrowableDoublePredicate
- All Superinterfaces:
DoublePredicate
- 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 (boolean-valued function) of one
double
-valued argument. This is
the double
-consuming primitive type specialization of ThrowablePredicate
.
Permits checked exceptions unlike DoublePredicate
This is a functional interface whose functional method is
test(double)
.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
test
(double value) Evaluates this predicate on the given argument.boolean
testUnsafe
(double value) Evaluates this predicate on the given argument.Methods inherited from interface java.util.function.DoublePredicate
and, negate, or
-
Method Details
-
testUnsafe
Evaluates this predicate on the given argument.- Parameters:
value
- the input argument- Returns:
true
if the input argument matches the predicate, otherwisefalse
- Throws:
Throwable
- occurred during processing
-
test
default boolean test(double value) Evaluates this predicate on the given argument.- Specified by:
test
in interfaceDoublePredicate
- Parameters:
value
- the input argument- Returns:
true
if the input argument matches the predicate, otherwisefalse
-