@FunctionalInterface public interface ThrowingDoubleBinaryOperator
DoubleBinaryOperator
that allows throwing checked exceptions. ThrowingDoubleBinaryOperator
is usually implemented by a lambda and passed to CheckedExceptionHandler.fromDoubleBinaryOperator(ThrowingDoubleBinaryOperator)
. See noexception tutorial.
Modifier and Type | Method and Description |
---|---|
double |
applyAsDouble(double left, double right)
Variation of DoubleBinaryOperator.applyAsDouble(double, double) that allows throwing checked exceptions.
|
double applyAsDouble(double left, double right) throws Throwable
DoubleBinaryOperator.applyAsDouble(double, double)
that allows throwing checked exceptions.
left
- see DoubleBinaryOperator.applyAsDouble(double, double)
right
- see DoubleBinaryOperator.applyAsDouble(double, double)
DoubleBinaryOperator.applyAsDouble(double, double)
Throwable
- if unable to complete
CheckedExceptionHandler.fromDoubleBinaryOperator(ThrowingDoubleBinaryOperator)
, DoubleBinaryOperator.applyAsDouble(double, double)
Copyright © 2017–2020 Robert Važan. All rights reserved.