public final class NullPredicate extends Object implements Predicate, Serializable
Modifier and Type | Field and Description |
---|---|
static Predicate |
INSTANCE
Singleton predicate instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Object object)
Evaluates the predicate returning true if the input is null.
|
static Predicate |
getInstance()
Factory returning the singleton instance.
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.