public interface Predicate
Modifier and Type | Field and Description |
---|---|
static Predicate |
FALSE
Constant predicate that returns
false for all objects. |
static Predicate |
TRUE
Constant predicate that returns
true for all objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Object object)
Evaluates the predicate for the given object.
|
static final Predicate TRUE
true
for all objects.static final Predicate FALSE
false
for all objects.boolean evaluate(Object object)
object
- some objectCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.