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