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