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