Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
public interface

GenericArrayType

implements Type
java.lang.reflect.GenericArrayType

Class Overview

This interface represents an array type with a component type that is either a parameterized type or a type variable.

Summary

Public Methods
abstract Type getGenericComponentType ()
Returns the component type of this array.

Public Methods

public abstract Type getGenericComponentType ()

Added in API level 1

Returns the component type of this array.

Returns
  • the component type of this array
Throws
TypeNotPresentException if the component type points to a missing type
MalformedParameterizedTypeException if the component type points to a type that cannot be instantiated for some reason