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