to top
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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.