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