Interface ArrayType

All Superinterfaces:
AnnotationTarget, Type

public interface ArrayType extends Type
An array type is created from a component type. For a component type T, the array type is written T[]. A component type may itself be an array type. For a component type T[], the array type is written T[][]. Such array type is also called multi-dimensional array type.

Array types also have an element type, which is obtained by repeatedly asking for the component type until a non-array type is returned. For example, the String[][] array type has an element type of String.

Since:
4.0