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