Source Home >> Java Source 1.6.0 >> java.lang.reflect.GenericArrayType V 0.09
  • 01/*
  • 02 * @(#)GenericArrayType.java 1.4 05/11/17
  • 03 *
  • 04 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
  • 05 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  • 06 */
  • 07
  • 08package java.lang.reflect;
  • 09
  • 10/**
  • 11 * <tt>GenericArrayType</tt> represents an array type whose component
  • 12 * type is either a parameterized type or a type variable.
  • 13 * @since 1.5
  • 14 */
  • 15public interface GenericArrayType extends Type {
  • 16 /**
  • 17 * Returns a <tt>Type</tt> object representing the component type
  • 18 * of this array. This method creates the component type of the
  • 19 * array. See the declaration of {@link
  • 20 * java.lang.reflect.ParameterizedType ParameterizedType} for the
  • 21 * semantics of the creation process for parameterized types and
  • 22 * see {@link java.lang.reflect.TypeVariable TypeVariable} for the
  • 23 * creation process for type variables.
  • 24 *
  • 25 * @return a <tt>Type</tt> object representing the component type
  • 26 * of this array
  • 27 * @throws TypeNotPresentException if the underlying array type's
  • 28 * component type refers to a non-existent type declaration
  • 29 * @throws MalformedParameterizedTypeException if the
  • 30 * underlying array type's component type refers to a
  • 31 * parameterized type that cannot be instantiated for any reason
  • 32 */
  • 33 Type getGenericComponentType();
  • 34}
  • 35

文件:GenericArrayType.java
包名:java.lang.reflect
类名:GenericArrayType
继承:Type
接口: