| java.lang.Object org.ddsteps.dataset.decorator.util.StringInArrayPredicate
StringInArrayPredicate | public class StringInArrayPredicate implements Predicate(Code) | | Predicate for checking if a string is in an array. Useful for filtering out
certain DataTables from a DataSet.
author: adam version: $Id: StringInArrayPredicate.java,v 1.1 2005/12/03 12:51:40 version: adamskogman Exp $ |
stringArray | final protected String[] stringArray(Code) | | The array of strings.
|
StringInArrayPredicate | public StringInArrayPredicate(String[] array)(Code) | | Dependency Injection constructor.
Parameters: array - The String Array, not null, not empty. |
evaluate | public boolean evaluate(Object arg0)(Code) | | True if the argument is a string and it is in the array
See Also: org.apache.commons.collections.Predicate.evaluate(java.lang.Object) |
|
|