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