On this page

FailableDoubleBinaryOperator

@FunctionalInterface public abstract interface org.apache.commons.lang3.function.FailableDoubleBinaryOperator<E extends Throwable>[source]

A functional interface like DoubleBinaryOperator that declares a Throwable.

Parameters:

<E> – The kind of thrown exception or error.

Since:

3.11

Methods

applyAsDouble(double, double)

Applies this operator to the given operands.

public abstract double applyAsDouble(double left, double right) throws E[source]

Applies this operator to the given operands.

Parameters:
  • left – The first operand

  • right – The second operand

Returns:

The operator result

Throws:

E – Thrown if the operation fails.