|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.apache.commons.collections.functors.TransformerPredicate
Predicate implementation that returns the result of a transformer.
| Constructor Summary | |
TransformerPredicate(Transformer transformer)
Constructor that performs no validation. |
|
| Method Summary | |
boolean |
evaluate(Object object)
Return the predicate result. |
static Predicate |
getInstance(Transformer transformer)
Factory to create the predicate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransformerPredicate(Transformer transformer)
getInstance if you want that.
| Method Detail |
public static Predicate getInstance(Transformer transformer)
IllegalArgumentException - if the transformer is nullpublic boolean evaluate(Object object)
evaluate in interface Predicateobject - the object to evaluate
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||