com.phoenixst.collections
public final class FalsePredicate extends Object implements Predicate, Serializable
Predicate which always returns false.
This is mostly equivalent to the class of the same name in Jakarta Commons-Collections 3.0. This implementation fixes a serialization bug in the Jakarta version so that the singleton property is correctly preserved. No equivalent exists in version 2.1.
Since: 1.0
Version: $Revision: 1.8 $
| Field Summary | |
|---|---|
| static FalsePredicate | INSTANCE
Singleton FalsePredicate instance. |
| Method Summary | |
|---|---|
| boolean | evaluate(Object object)
Returns false. |
| String | toString() |
FalsePredicate instance.false.