net.cscott.sinjdoc

Interface ArrayType

public interface ArrayType extends Type

The ArrayType interface represents a java array type.

Version: $Id: ArrayType.java,v 1.2 2003/05/08 03:54:25 cananian Exp $

Author: C. Scott Ananian (cscott@cscott.net)

Method Summary
TypebaseType()
The base type of the array.
intdimension()
The dimension of the array type.
StringtoString()
Returns a string representation of the type.

Method Detail

baseType

public Type baseType()
The base type of the array.

dimension

public int dimension()
The dimension of the array type.

toString

public String toString()
Returns a string representation of the type. Returns the string representation of the base type followed by dimension information. For example, a two-dimensional array of String returns "String[][]".
Copyright © 2003 C. Scott Ananian