| java.lang.Object org.tigris.scarab.util.comparators.StartsWithPredicate
StartsWithPredicate | public class StartsWithPredicate implements Predicate(Code) | | Returns only strings that start with a specific string!
Good for filtering through a long list of paramerters and
only getting some back.
author: epugh |
Method Summary | |
public boolean | evaluate(Object input) Takes in the input object, and call's it's toString method. |
StartsWithPredicate | public StartsWithPredicate(String startsWith)(Code) | | |
evaluate | public boolean evaluate(Object input)(Code) | | Takes in the input object, and call's it's toString method.
Then checks if it starts with the value.
|
|
|