org.norecess.citkit.types
Class ArrayType

java.lang.Object
  extended by 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

Constructor Summary
ArrayType(HobbesType elementType)
           
 
Method Summary
<T> T
accept(TypeVisitor<T> visitor)
           
 HobbesType actual()
           
 boolean equals(java.lang.Object obj)
           
 HobbesType getElementType()
           
 int hashCode()
           
 boolean isBound()
           
 java.lang.String toShortString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayType

public ArrayType(HobbesType elementType)
Method Detail

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