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