Interface ThrowableDoubleBinaryOperator
-
- All Superinterfaces:
java.util.function.DoubleBinaryOperator
- 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 ThrowableDoubleBinaryOperator extends java.util.function.DoubleBinaryOperatorRepresents an operation upon twodouble-valued operands and producing adouble-valued result. This is the primitive type specialization ofThrowableBinaryOperatorfordouble.Permits checked exceptions unlike
DoubleBinaryOperatorThis is a functional interface whose functional method is
applyAsDouble(double, double).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default doubleapplyAsDouble(double left, double right)Applies this operator to the given operands.doubleapplyAsDoubleUnsafe(double left, double right)Applies this operator to the given operands.
-
-
-
Method Detail
-
applyAsDoubleUnsafe
double applyAsDoubleUnsafe(double left, double right) throws java.lang.ThrowableApplies this operator to the given operands.- Parameters:
left- the first operandright- the second operand- Returns:
- the operator result
- Throws:
java.lang.Throwable- occurred during processing
-
applyAsDouble
default double applyAsDouble(double left, double right)Applies this operator to the given operands.- Specified by:
applyAsDoublein interfacejava.util.function.DoubleBinaryOperator- Parameters:
left- the first operandright- the second operand- Returns:
- the operator result
-
-