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. |
evaluate
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 Apache Software Foundation. Documenation generated March 28 2013.