Package com.globalmentor.io.function
Interface IODoubleBinaryOperator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation upon two
double
-valued operands and producing a double
-valued result. This is the primitive type specialization of
IOBinaryOperator
for double
.
This interface is similar to DoubleBinaryOperator
except that it is allowed to throw an IOException
.
- Author:
- Magno N A Cruz
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondouble
applyAsDouble
(double left, double right) This method is the same asDoubleBinaryOperator.applyAsDouble(double, double)
, but with a support forIOException
.
-
Method Details
-
applyAsDouble
This method is the same as
DoubleBinaryOperator.applyAsDouble(double, double)
, but with a support forIOException
.- Parameters:
left
- The first operand.right
- The second operand.- Returns:
- The operator result.
- Throws:
IOException
- if there is an I/O error performing the operation.
-