| Modifier and Type | Method | Description |
|---|---|---|
default DoublePredicateWithException<E> |
DoublePredicateWithException.and(DoublePredicateWithException<? extends E> other) |
Returns a composed predicate that represents a short-circuiting logical AND
of this predicate and another.
|
static <E extends Exception> |
DoublePredicateWithException.failing(Supplier<E> exceptionBuilder) |
Returns a predicate that always throw exception.
|
default DoublePredicateWithException<E> |
DoublePredicateWithException.negate() |
Returns a predicate that represents the logical negation of this predicate.
|
static <E extends Exception> |
DoublePredicateWithException.negate(DoublePredicateWithException<E> predicate) |
Negate a
DoublePredicateWithException. |
default DoublePredicateWithException<E> |
DoublePredicateWithException.or(DoublePredicateWithException<? extends E> other) |
Returns a composed predicate that represents a short-circuiting logical OR of
this predicate and another.
|
| Modifier and Type | Method | Description |
|---|---|---|
default DoublePredicateWithException<E> |
DoublePredicateWithException.and(DoublePredicateWithException<? extends E> other) |
Returns a composed predicate that represents a short-circuiting logical AND
of this predicate and another.
|
static <E extends Exception> |
DoublePredicateWithException.ignored(DoublePredicateWithException<E> predicate) |
Converts a
DoublePredicateWithException to a lifted
DoublePredicate returning false in case of exception. |
static <E extends Exception> |
DoublePredicateWithException.lifted(DoublePredicateWithException<E> predicate) |
Converts a
DoublePredicateWithException to a lifted
DoublePredicate returning false in case of exception. |
static <E extends Exception> |
DoublePredicateWithException.negate(DoublePredicateWithException<E> predicate) |
Negate a
DoublePredicateWithException. |
default DoublePredicateWithException<E> |
DoublePredicateWithException.or(DoublePredicateWithException<? extends E> other) |
Returns a composed predicate that represents a short-circuiting logical OR of
this predicate and another.
|
static <E extends Exception> |
DoublePredicateWithException.unchecked(DoublePredicateWithException<E> predicate) |
Converts a
DoublePredicateWithException to a DoublePredicate
that wraps exception to RuntimeException. |
static <E extends Exception> |
DoublePredicateWithException.unchecked(DoublePredicateWithException<E> predicate,
Function<Exception,RuntimeException> exceptionMapper) |
Converts a
PredicateWithException to a Predicate that wraps
exception to RuntimeException by using the provided mapping function. |
Copyright © 2019. All rights reserved.