| java.lang.Object org.apache.commons.collections.functors.NotNullPredicate
NotNullPredicate | final public class NotNullPredicate implements Predicate,Serializable(Code) | | Predicate implementation that returns true if the input is not null.
since: Commons Collections 3.0 version: $Revision: 348444 $ $Date: 2005-11-23 14:06:56 +0000 (Wed, 23 Nov 2005) $ author: Stephen Colebourne |
Method Summary | |
public boolean | evaluate(Object object) Evaluates the predicate returning true if the object does not equal null. | public static Predicate | getInstance() Factory returning the singleton instance. |
INSTANCE | final public static Predicate INSTANCE(Code) | | Singleton predicate instance
|
evaluate | public boolean evaluate(Object object)(Code) | | Evaluates the predicate returning true if the object does not equal null.
Parameters: object - the object to evaluate true if not null |
getInstance | public static Predicate getInstance()(Code) | | Factory returning the singleton instance.
the singleton instance since: Commons Collections 3.1 |
|
|