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