T
- the type of the object which shall be convertedR
- the return type, i.e. the type into which the object shall be converted@FunctionalInterface
public interface Conversion<T,R>
extends java.util.function.Function<T,R>
Modifier and Type | Method and Description |
---|---|
R |
apply(T object)
Has to implement the conversion logic to convert the given object into an object of type R.
|