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