| Package | Description |
|---|---|
| org.sellcom.core.util.function |
| Modifier and Type | Method and Description |
|---|---|
default ThrowingDoubleBinaryOperator |
ThrowingDoubleBinaryOperator.orThrow(Class<? extends RuntimeException> exceptionClass)
Returns a
ThrowingDoubleBinaryOperator throwing an exception of the given type if this operator throws an exception. |
default ThrowingDoubleBinaryOperator |
ThrowingDoubleBinaryOperator.orThrow(Class<? extends RuntimeException> exceptionClass,
String message)
Returns a
ThrowingDoubleBinaryOperator throwing an exception of the given type if this operator throws an exception. |
default ThrowingDoubleBinaryOperator |
ThrowingDoubleBinaryOperator.orTryWith(ThrowingDoubleBinaryOperator other)
Returns a
ThrowingDoubleBinaryOperator applying the given operator to the arguments if this operator throws an exception. |
default ThrowingDoubleBinaryOperator |
ThrowingDoubleBinaryOperator.orTryWith(ThrowingDoubleBinaryOperator other,
Consumer<Exception> exceptionConsumer)
Returns a
ThrowingDoubleBinaryOperator applying the given operator to the arguments if this operator throws an exception. |
| Modifier and Type | Method and Description |
|---|---|
default ThrowingDoubleBinaryOperator |
ThrowingDoubleBinaryOperator.orTryWith(ThrowingDoubleBinaryOperator other)
Returns a
ThrowingDoubleBinaryOperator applying the given operator to the arguments if this operator throws an exception. |
default ThrowingDoubleBinaryOperator |
ThrowingDoubleBinaryOperator.orTryWith(ThrowingDoubleBinaryOperator other,
Consumer<Exception> exceptionConsumer)
Returns a
ThrowingDoubleBinaryOperator applying the given operator to the arguments if this operator throws an exception. |