java.lang.Object
org.simpleflatmapper.util.TypeReference<T>
- Type Parameters:
T- the targeted type
That class is a way to define generic type without implementing the ParameterizedType.
By defining an anonymous instance of it the new class has access to the actual type argument T that the method getType() returns;
By defining an anonymous instance of it the new class has access to the actual type argument T that the method getType() returns;
new TypeReference<Tuple2<String,Long>>(){}
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TypeReference
protected TypeReference()
-
-
Method Details
-
getType
-