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