| Modifier and Type | Method | Description |
|---|---|---|
default PredicateWithException<T,E> |
PredicateWithException.and(PredicateWithException<? super T,? extends E> other) |
Returns a composed predicate that represents a short-circuiting logical AND
of this predicate and another.
|
static <T,E extends Exception> |
PredicateWithException.failing(Supplier<E> exceptionBuilder) |
Returns a predicate that always throw exception.
|
default PredicateWithException<T,E> |
PredicateWithException.negate() |
Returns a predicate that represents the logical negation of this predicate.
|
static <T,E extends Exception> |
PredicateWithException.negate(PredicateWithException<T,E> predicate) |
Negate a
PredicateWithException. |
default PredicateWithException<T,E> |
PredicateWithException.or(PredicateWithException<? super T,? 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 PredicateWithException<T,E> |
PredicateWithException.and(PredicateWithException<? super T,? extends E> other) |
Returns a composed predicate that represents a short-circuiting logical AND
of this predicate and another.
|
static <T,E extends Exception> |
PredicateWithException.ignored(PredicateWithException<T,E> predicate) |
Converts a
PredicateWithException to a lifted Predicate
returning false in case of exception. |
static <T,E extends Exception> |
PredicateWithException.lifted(PredicateWithException<T,E> predicate) |
Converts a
PredicateWithException to a lifted Predicate
returning false in case of exception. |
static <T,E extends Exception> |
PredicateWithException.negate(PredicateWithException<T,E> predicate) |
Negate a
PredicateWithException. |
default PredicateWithException<T,E> |
PredicateWithException.or(PredicateWithException<? super T,? extends E> other) |
Returns a composed predicate that represents a short-circuiting logical OR of
this predicate and another.
|
static <T,E extends Exception> |
PredicateWithException.unchecked(PredicateWithException<T,E> predicate) |
Converts a
PredicateWithException to a Predicate that wraps
exception to RuntimeException. |
static <T,E extends Exception> |
PredicateWithException.unchecked(PredicateWithException<T,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.