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

Class TruePredicate

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

All Implemented Interfaces:
Predicate, Serializable


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

Predicate implementation that always returns true.
Since:
Commons Collections 3.0
Author:
Stephen Colebourne

Field Summary

static Predicate

INSTANCE

Singleton predicate instance

Method Summary

boolean

evaluate(Object object)

Always return true.

Field Details

INSTANCE

public static final Predicate INSTANCE

Singleton predicate instance

Method Details

evaluate

public boolean evaluate(Object object)

Always return true.

Parameters:
object