March 2005
Beginner to intermediate
1254 pages
104h 21m
English
ParameterizedType
This subinterface
of Type represents a parameterized type.
getRawType( )
returns the base type that
has been parameterized. getActualTypeArguments(
)
returns the type parameters as a
Type[ ]. Note that these parameters may themselves
be ParameterizedType objects.
getOwnerType( )
is used with parameterized
types that are also nested types: it returns the generic type of the
containing type.
Figure 10-99. java.lang.reflect.ParameterizedType
public interface ParameterizedType extends Type { // Public Instance Methods Type[ ] getActualTypeArguments( ); Type getOwnerType( ); Type getRawType( ); }
Read now
Unlock full access