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.
Author:
James Strachan
Since:
1.0

Method Summary

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

Method Details

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-2004 Apache Software Foundation. Documenation generated ${TODAY}.