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