Class TypeToken<T>
java.lang.Object
com.googlecode.objectify.repackaged.gentyref.TypeToken<T>
- Type Parameters:
T
- The type represented by this TypeToken.
Wrapper around
Type
.
You can use this to create instances of Type for a type known at compile
time.
For example, to get the Type that represents List<String>:
Type listOfString = new TypeToken<List<String>>(){}.getType();
- Author:
- Wouter Coekaerts invalid input: '<'[email protected]>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TypeToken
protected TypeToken()Constructs a type token.
-
-
Method Details