public abstract class TypeLiteral<T>
extends java.lang.Object
implements java.io.Serializable
new TypeLiteral<ArrayList<String>>() {}
Modifier | Constructor and Description |
---|---|
protected |
TypeLiteral() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Class<T> |
getRawType() |
java.lang.reflect.Type |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
public final java.lang.reflect.Type getType()
public final java.lang.Class<T> getRawType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object