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