public final class ExtendsTypeParameter<T> extends TypeParameter<T>
Represents a type parameter which contains an "extends" clause.
For example, the type List<? extends Set<String[]>>, would have an ExtendsTypeParameter containing the ? extends 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.