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