| Modifier and Type | Field and Description |
|---|---|
| private final Factory | iFactory
The factory to wrap |
| private static final long | serialVersionUID
Serial version UID |
| Access | Constructor and Description |
|---|---|
| public | FactoryTransformer(final Factory<? extends O>
the factory to call, not null factory)Constructor that performs no validation. |
| Modifier and Type | Method and Description |
|---|---|
| public static < the input type I, the output type O> Transformer | Returns: thefactory transformerthe factory to call, not null factory)Factory method that performs validation. |
| public Factory | |
| public O | Returns: the transformed resultthe input object to transform input)Implements org. |
| iFactory | back to summary |
|---|---|
| private final Factory<? extends O> iFactory The factory to wrap | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version UID | |
| FactoryTransformer | back to summary |
|---|---|
| public FactoryTransformer(final Factory<? extends O> factory) Constructor that performs no validation.
Use
| |
| factoryTransformer | back to summary |
|---|---|
| public static <I, O> Transformer Factory method that performs validation.
| |
| getFactory | back to summary |
|---|---|
| public Factory Gets the factory.
| |
| transform | back to summary |
|---|---|
| public O transform(final I input) Implements org. Transforms the input by ignoring the input and returning the result of calling the decorated factory.
| |