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 ofDoubleBinaryOperatorthat allows throwing checked exceptions.ThrowingDoubleBinaryOperatoris 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 doubleapplyAsDouble(double left, double right)Variation ofDoubleBinaryOperator.applyAsDouble(double, double)that allows throwing checked exceptions.
-
-
-
Method Detail
-
applyAsDouble
double applyAsDouble(double left, double right) throws ThrowableVariation 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)
-
-