Multiple objects may be instantiated at run-time to represent a given type variable. Even though a type variable is created only once, this does not imply any requirement to cache instances representing the type variable. However, all instances representing a type variable must be equal() to each other. As a consequence, users of type variables must not rely on the identity of instances of classes implementing this interface.
| Method Summary | ||
Type[] |
getBounds() Returns an array of Type objects representing the
upper bound(s) of this type variable. |
|
| getGenericDeclaration() Returns the GenericDeclaration object representing the
generic declaration declared this type variable. |
||
| getName() Returns the name of this type variable, as it occurs in the source code. |
||
For each upper bound B: