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