| Package | Description |
|---|---|
| org.sellcom.core.util.function |
| Modifier and Type | Method and 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(Class<? extends RuntimeException> exceptionClass)
Returns a
ThrowingLongUnaryOperator throwing an exception of the given type if this operator throws an exception. |
default ThrowingLongUnaryOperator |
ThrowingLongUnaryOperator.orThrow(Class<? extends RuntimeException> exceptionClass,
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,
Consumer<Exception> exceptionConsumer)
Returns a
ThrowingLongUnaryOperator applying the given operator to the argument if this operator throws an exception. |
| Modifier and Type | Method and 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,
Consumer<Exception> exceptionConsumer)
Returns a
ThrowingLongUnaryOperator applying the given operator to the argument if this operator throws an exception. |