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