- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
DoublePredicate
that allows for checked exceptions.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionstatic DoublePredicate
sneaky
(CheckedDoublePredicate predicate) boolean
test
(double value) Evaluates this predicate on the given argument.static DoublePredicate
unchecked
(CheckedDoublePredicate predicate) static DoublePredicate
unchecked
(CheckedDoublePredicate function, Consumer<Throwable> handler)
-
Method Details
-
test
Evaluates this predicate on the given argument.- Parameters:
value
- the input argument- Returns:
true
if the input argument matches the predicate, otherwisefalse
- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
-