Package libcore.reflect
Class GenericArrayTypeImpl
java.lang.Object
libcore.reflect.GenericArrayTypeImpl
- All Implemented Interfaces:
GenericArrayType,Type
public final class GenericArrayTypeImpl extends Object implements GenericArrayType
-
Constructor Summary
Constructors Constructor Description GenericArrayTypeImpl(Type componentType) -
Method Summary
Modifier and Type Method Description TypegetGenericComponentType()Returns the component type of this array.StringtoString()Returns a string containing a concise, human-readable description of this object.
-
Constructor Details
-
GenericArrayTypeImpl
-
-
Method Details
-
getGenericComponentType
Description copied from interface:GenericArrayTypeReturns the component type of this array.- Specified by:
getGenericComponentTypein interfaceGenericArrayType- Returns:
- the component type of this array
-
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-