| Package | Description |
|---|---|
| org.sellcom.core.util.function |
| Modifier and Type | Method | Description |
|---|---|---|
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.andThen(ThrowingLongUnaryOperator after) |
Returns a composed
ThrowingLongUnaryOperator that first applies this operator to the argument, and then applies the after operator to the result. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.compose(ThrowingLongUnaryOperator before) |
Returns a composed
ThrowingLongUnaryOperator that first applies the before operator to the argument, and then applies this operator to the result. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.orThrow(java.lang.Class<? extends java.lang.RuntimeException> exceptionClass) |
Returns a
ThrowingLongUnaryOperator throwing an exception of the given type if this operator throws an exception. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.orThrow(java.lang.Class<? extends java.lang.RuntimeException> exceptionClass,
java.lang.String message) |
Returns a
ThrowingLongUnaryOperator throwing an exception of the given type if this operator throws an exception. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.orTryWith(ThrowingLongUnaryOperator other) |
Returns a
ThrowingLongUnaryOperator applying the given operator to the argument if this operator throws an exception. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.orTryWith(ThrowingLongUnaryOperator other,
java.util.function.Consumer<java.lang.Exception> exceptionConsumer) |
Returns a
ThrowingLongUnaryOperator applying the given operator to the argument if this operator throws an exception. |
| Modifier and Type | Method | Description |
|---|---|---|
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.andThen(ThrowingLongUnaryOperator after) |
Returns a composed
ThrowingLongUnaryOperator that first applies this operator to the argument, and then applies the after operator to the result. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.compose(ThrowingLongUnaryOperator before) |
Returns a composed
ThrowingLongUnaryOperator that first applies the before operator to the argument, and then applies this operator to the result. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.orTryWith(ThrowingLongUnaryOperator other) |
Returns a
ThrowingLongUnaryOperator applying the given operator to the argument if this operator throws an exception. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.orTryWith(ThrowingLongUnaryOperator other,
java.util.function.Consumer<java.lang.Exception> exceptionConsumer) |
Returns a
ThrowingLongUnaryOperator applying the given operator to the argument if this operator throws an exception. |