public abstract class Predicate<T>
extends java.lang.Object
Objects.| Modifier and Type | Field and Description |
|---|---|
static Predicate |
FALSE |
static Predicate |
TRUE |
| Constructor and Description |
|---|
Predicate() |
| Modifier and Type | Method and Description |
|---|---|
Predicate<T> |
and(Predicate<T> conjunct_)
Return a predicate that is a conjunction of this predicate and another
predicate
|
static <T> Predicate<T> |
falsePred() |
Predicate<T> |
not()
Return a predicate that is a negation of this predicate
|
Predicate<T> |
or(Predicate<T> disjunct_)
Return a predicate that is a conjunction of this predicate and another
predicate
|
abstract boolean |
test(T obj_)
Test whether an
Object satisfies this Predicate |
static <T> Predicate<T> |
truePred() |