Module com.machinezoo.noexception
Interface ThrowingDoublePredicate
-
- 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 ThrowingDoublePredicate
Variation ofDoublePredicate
that allows throwing checked exceptions.ThrowingDoublePredicate
is usually implemented by a lambda and passed toCheckedExceptionHandler.fromDoublePredicate(ThrowingDoublePredicate)
. See noexception tutorial.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(double value)
Variation ofDoublePredicate.test(double)
that allows throwing checked exceptions.
-
-
-
Method Detail
-
test
boolean test(double value) throws Throwable
Variation ofDoublePredicate.test(double)
that allows throwing checked exceptions.- Parameters:
-
value
- seeDoublePredicate.test(double)
- Returns:
-
see
DoublePredicate.test(double)
- Throws:
-
Throwable
- if unable to complete - See Also:
-
CheckedExceptionHandler.fromDoublePredicate(ThrowingDoublePredicate)
,DoublePredicate.test(double)
-
-