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 ofDoublePredicatethat allows throwing checked exceptions.ThrowingDoublePredicateis 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 booleantest(double value)Variation ofDoublePredicate.test(double)that allows throwing checked exceptions.
-
-
-
Method Detail
-
test
boolean test(double value) throws ThrowableVariation 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)
-
-