T - the generic typepublic class GenericType<T> extends ClassType<T>
BIGDECIMAL, BOOL, BOOLEAN, BYTE, BYTEWRAPPER, DATE, DOUBLE, DOUBLEWRAPPER, FLOAT, FLOATEWRAPPER, INT, INTEGER, LOCALDATE, LOCALDATETIME, LOCALTIME, LONG, LONGWRAPPER, SHORT, SHORTWRAPPER, SQLDATE, STRING, TIME, TIMESTAMP| Constructor and Description |
|---|
GenericType(java.lang.Class<T> type)
Instantiates a new generic type.
|
| Modifier and Type | Method and Description |
|---|---|
GenericType<T> |
addGenericType(GenericType<?>... genericTypes)
Adds the generic type.
|
GenericType<T> |
addGenericType(GenericType<?> genericType)
Adds the generic type.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<GenericType<?>> |
getGenericTypes()
get genericTypes value
|
int |
hashCode() |
boolean |
isGeneric() |
java.lang.String |
toString() |
getType, getTypeNamepublic GenericType(java.lang.Class<T> type)
type - the typepublic GenericType<T> addGenericType(GenericType<?> genericType)
genericType - the generic typepublic GenericType<T> addGenericType(GenericType<?>... genericTypes)
genericTypes - the generic typespublic java.util.List<GenericType<?>> getGenericTypes()
public boolean isGeneric()
public int hashCode()
ClassTypepublic boolean equals(java.lang.Object obj)
ClassType