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