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(Object input)
          Returns true if the input object matches this predicate.
 

Method Detail

evaluate

public boolean evaluate(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-2002 Apache Software Foundation. Documenation generated October 21 2002.