⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections.functors

Class NotNullPredicate

java.lang.Object
|
+--org.apache.commons.collections.functors.NotNullPredicate

All Implemented Interfaces:
Predicate, Serializable


public final class NotNullPredicate
extends java.lang.Object
implements Predicate, Serializable

Predicate implementation that returns true if the input is not null.
Since:
Commons Collections 3.0
Author:
Stephen Colebourne

Field Summary

static Predicate

INSTANCE

Singleton predicate instance

Method Summary

boolean

evaluate(Object object)

Return true if the object equals null.

Field Details

INSTANCE

public static final Predicate INSTANCE

Singleton predicate instance

Method Details

evaluate

public boolean evaluate(Object object)

Return true if the object equals null.

Parameters:
object