Module com.machinezoo.noexception
Interface ThrowingDoubleBinaryOperator
-
- 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 ThrowingDoubleBinaryOperator
Variation ofDoubleBinaryOperator
that allows throwing checked exceptions.ThrowingDoubleBinaryOperator
is usually implemented by a lambda and passed toCheckedExceptionHandler.fromDoubleBinaryOperator(ThrowingDoubleBinaryOperator)
. See noexception tutorial.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
applyAsDouble(double left, double right)
Variation ofDoubleBinaryOperator.applyAsDouble(double, double)
that allows throwing checked exceptions.
-
-
-
Method Detail
-
applyAsDouble
double applyAsDouble(double left, double right) throws Throwable
Variation ofDoubleBinaryOperator.applyAsDouble(double, double)
that allows throwing checked exceptions.- Parameters:
-
left
- seeDoubleBinaryOperator.applyAsDouble(double, double)
-
right
- seeDoubleBinaryOperator.applyAsDouble(double, double)
- Returns:
-
see
DoubleBinaryOperator.applyAsDouble(double, double)
- Throws:
-
Throwable
- if unable to complete - See Also:
-
CheckedExceptionHandler.fromDoubleBinaryOperator(ThrowingDoubleBinaryOperator)
,DoubleBinaryOperator.applyAsDouble(double, double)
-
-