R - The type the value is transformed to.I - The type of the value to be transformed.public interface Transformer<R,I>
A Transformer transforms objects of type.
Implementations are free to return new objects or mutate the incoming value.
| Modifier and Type | Method and Description |
|---|---|
R |
transform(I original)
Transforms the given object, and returns the transformed value.
|