org.apache.commons.collections
Interface Predicate


public interface Predicate

Performs some predicate which returns true or false based on the input object. Predicate instances can be used to implement queries or to do filtering.

Since:
1.0
Author:
James Strachan

Method Summary
 boolean evaluate(java.lang.Object input)
          Returns true if the input object matches this predicate.
 

Method Detail

evaluate

public boolean evaluate(java.lang.Object input)
Returns true if the input object matches this predicate.

Returns:
true if the input object matches this predicate, else returns false


Copyright © 2001-2004 The Apache Software Foundation. All Rights Reserved.