org.norecess.citkit.types
Class ArrayType
java.lang.Object
org.norecess.citkit.types.ArrayType
- All Implemented Interfaces:
- HobbesType, IArrayType
public class ArrayType
- extends java.lang.Object
- implements IArrayType
Data type for arrays.
- Author:
- Jeremy D. Frens
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ArrayType
public ArrayType(HobbesType elementType)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toShortString
public java.lang.String toShortString()
- Specified by:
toShortString
in interface HobbesType
getElementType
public HobbesType getElementType()
- Specified by:
getElementType
in interface IArrayType
accept
public <T> T accept(TypeVisitor<T> visitor)
- Specified by:
accept
in interface HobbesType
actual
public HobbesType actual()
- Specified by:
actual
in interface HobbesType
isBound
public boolean isBound()
- Specified by:
isBound
in interface HobbesType