T - the type of the argument@FunctionalInterface public interface PredicateWithException<T>
| Modifier and Type | Method and Description |
|---|---|
static <T> Predicate<T> |
asPredicate(PredicateWithException<T> unchecked) |
static <T> Predicate<T> |
asPredicateOrElse(PredicateWithException<T> unchecked,
boolean orElse) |
static <T> Predicate<T> |
asPredicateOrElseGet(PredicateWithException<T> unchecked,
BooleanSupplier orElseGet) |
default Predicate<T> |
orElse(boolean orElse) |
default Predicate<T> |
orElseGet(BooleanSupplier orElseGet) |
default Predicate<T> |
orElseThrow() |
boolean |
test(T t) |
default Predicate<T> orElseGet(BooleanSupplier orElseGet)
static <T> Predicate<T> asPredicate(PredicateWithException<T> unchecked)
static <T> Predicate<T> asPredicateOrElse(PredicateWithException<T> unchecked, boolean orElse)
static <T> Predicate<T> asPredicateOrElseGet(PredicateWithException<T> unchecked, BooleanSupplier orElseGet)
Copyright © 2021. All rights reserved.