| Modifier and Type | Method and Description |
|---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> and)
Compose this
Predicate logical-AND the specified
Predicate. |
static <T> Predicate<T> |
Predicate.asPredicate(Predicate<T> wrapped)
Returns a
Predicate which wraps the specified
java.util.function.Predicate. |
default Predicate<T> |
Predicate.negate()
Return a
Predicate which is the negation of this
Predicate. |
default Predicate<T> |
Predicate.or(Predicate<? super T> or)
Compose this
Predicate logical-OR the specified
Predicate. |
| Modifier and Type | Method and Description |
|---|---|
default Predicate<T> |
Predicate.and(Predicate<? super T> and)
Compose this
Predicate logical-AND the specified
Predicate. |
static <T> Predicate<T> |
Predicate.asJavaPredicate(Predicate<T> wrapped)
Returns a
java.util.function.Predicate which wraps the specified
Predicate and throws any thrown exceptions. |
static <T> Predicate<T> |
Predicate.asJavaPredicateOrElse(Predicate<T> wrapped,
boolean orElse)
Returns a
java.util.function.Predicate which wraps the specified
Predicate and the specified value. |
static <T> Predicate<T> |
Predicate.asJavaPredicateOrElseGet(Predicate<T> wrapped,
BooleanSupplier orElseGet)
Returns a
java.util.function.Predicate which wraps the specified
Predicate and the specified
java.util.function.BooleanSupplier. |
default Predicate<T> |
Predicate.or(Predicate<? super T> or)
Compose this
Predicate logical-OR the specified
Predicate. |
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0