T - public abstract class TypeLiteral<T> extends Object
TypeLiteral.
TypeLiteral<List<String>> stringListType = new TypeLiteral<List<String>>() {};
| Modifier | Constructor and Description |
|---|---|
protected |
TypeLiteral() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Type[] |
getParameterTypes() |
Class<T> |
getRawType() |
static Class<?> |
getRawType(Type type) |
Type |
getType() |
int |
hashCode() |
String |
toString() |
Copyright © 2009-2013 Oracle Corporation. All Rights Reserved.