public final class StandardTypeParameter<T> extends TypeParameter<T>
This class represents a type parameter which only contains a Type.
For example, the type List<Set<String[]>>; would have a StandardTypeParameter containing the Set<String[]> parameter.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Type<T> |
getType()
Returns the type contained in the parameter.
|
int |
hashCode() |
String |
toString() |
public Type<T> getType()
TypeParameter
Returns the type contained in the parameter. It will raise an exception for wildcard type parameters (?).
getType
in class TypeParameter<T>
Copyright © 2016 The JAVARUNTYPE team. All Rights Reserved.