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