Package org.mapstruct.ap.internal.util
Interface Extractor<T,R>
- Type Parameters:
T- the type of the input to the functionR- the type of the result of the function
public interface Extractor<T,R>
This is a helper interface until we migrate to Java 8. It allows us to abstract our code easier.
- Author:
- Filip Hrisafov
-
Method Summary
-
Method Details
-
apply
Extract a value from the passed parameter.- Parameters:
t- the value that we need to extract from- Returns:
- the result from the extraction
-