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