java.lang.Object | +--org.apache.commons.collections.functors.FactoryTransformerAll Implemented Interfaces:
FactoryTransformer(Factory factory) Constructor that performs no validation. |
static Transformer | getInstance(Factory factory) Factory method that performs validation. |
Object | transform(Object input) Call the factory. |
public FactoryTransformer(Factory factory)
getInstance
if you want that.
public static Transformer getInstance(Factory factory)
- if the factory is nullpublic Object transform(Object input)