public final class NotNullPredicate 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 object does not equal null.
|
static Predicate |
getInstance()
Factory returning the singleton instance.
|
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.