March 2005
Beginner to intermediate
1254 pages
104h 21m
English
GenericDeclaration
This interface
is implemented by the classes that represent program elements that
can be made generic:
java.lang.Class as well as
Method and Constructor. It
provides access to the type variables declared by the generic type,
method, or constructor. getTypeParameters(
)
never returns null: if there are no declared type
variables, it returns a zero-length array.
public interface GenericDeclaration { // Public Instance Methods TypeVariable<?>[ ] getTypeParameters( ); }
Class, Constructor,
Method
TypeVariable.getGenericDeclaration( )
Read now
Unlock full access