All Packages Class Hierarchy This Package Previous Next Index
Class epp.ArrayType
java.lang.Object
|
+----epp.Type
|
+----epp.ArrayType
- public class ArrayType
- extends Type
クラス ArrayType は、 :arrayOf 型を表す Type です。.
- See Also:
- Type
-
ArrayType(Type)
-
-
getComponentType()
- 要素の型を返します。.
-
toString()
-
-
toTree()
- この型をプログラム中で表現する tree を返します。.
ArrayType
public ArrayType(Type componentType)
getComponentType
public Type getComponentType()
- 要素の型を返します。.
典型的な使用例は、次のようになります。
if (type.tag() == :arrayOf){
Type t = ((ArrayType)type).getComponentType();
...;
}
toTree
public Tree toTree()
- この型をプログラム中で表現する tree を返します。.
- Overrides:
- toTree in class Type
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index