ParameterizedType


ParameterizedType java.lang.reflect

Java 5.0

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  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net