I - The type of the input parameter of transform(Object)O - The return type of transform(Object)public interface Transformer<I,O>
When using this type in a variable, parameter or field declaration, never write
Transformer<input-type, output-type>
, but always
Transformer<? super input-type, ? extends output-type>
.
transform(Object)| Modifier and Type | Method and Description |
|---|---|
O |
transform(I in)
Transforms a (non-null) object of type
I into a (non-null) object of type O. |