Name

GenericArrayType

Synopsis

This interface extends Type and represents a one-dimensional array of some element Type. Note that in the case of multidimensional arrays, the Type returned by getGenericComponentType( ) is itself a GenericArrayType.

java.lang.reflect.GenericArrayType

Figure 10-94. java.lang.reflect.GenericArrayType

public interface GenericArrayType extends Type {
// Public Instance Methods
     Type getGenericComponentType( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.