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