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