@FunctionalInterface
public interface CheckedDoubleBinaryOperator
DoubleBinaryOperator
that allows for checked exceptions.Modifier and Type | Method | Description |
---|---|---|
double |
applyAsDouble(double left,
double right) |
Applies this operator to the given operands.
|
static java.util.function.DoubleBinaryOperator |
sneaky(CheckedDoubleBinaryOperator operator) |
|
static java.util.function.DoubleBinaryOperator |
unchecked(CheckedDoubleBinaryOperator operator) |
|
static java.util.function.DoubleBinaryOperator |
unchecked(CheckedDoubleBinaryOperator operator,
java.util.function.Consumer<java.lang.Throwable> handler) |
double applyAsDouble(double left, double right) throws java.lang.Throwable
left
- the first operandright
- the second operandjava.lang.Throwable
static java.util.function.DoubleBinaryOperator sneaky(CheckedDoubleBinaryOperator operator)
static java.util.function.DoubleBinaryOperator unchecked(CheckedDoubleBinaryOperator operator)
static java.util.function.DoubleBinaryOperator unchecked(CheckedDoubleBinaryOperator operator, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.