public class TransformerToPredicate extends Object implements org.apache.commons.collections.Predicate
Transformer to a Predicate.| Constructor and Description |
|---|
TransformerToPredicate() |
TransformerToPredicate(org.apache.commons.collections.Transformer transformer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Object input) |
org.apache.commons.collections.Transformer |
getTransformer() |
boolean |
isInverse()
If true then null result will produce true was
evaluate(Object) result |
void |
setInverse(boolean inverse)
If true then null result will produce true was
evaluate(Object) result |
void |
setTransformer(org.apache.commons.collections.Transformer transformer) |
public TransformerToPredicate()
public TransformerToPredicate(org.apache.commons.collections.Transformer transformer)
public boolean evaluate(Object input)
evaluate in interface org.apache.commons.collections.Predicatepublic org.apache.commons.collections.Transformer getTransformer()
public void setTransformer(org.apache.commons.collections.Transformer transformer)
public boolean isInverse()
evaluate(Object) resultpublic void setInverse(boolean inverse)
evaluate(Object) resultCopyright © 2018. All rights reserved.