org.norecess.citkit.types
Class IntegerType

java.lang.Object
  extended by org.norecess.citkit.types.IntegerType
All Implemented Interfaces:
HobbesType, PrimitiveType

public class IntegerType
extends java.lang.Object
implements PrimitiveType

Data type for integers.

Author:
Jeremy D. Frens

Field Summary
static IntegerType INTEGER_TYPE
           
 
Method Summary
<T> T
accept(TypeVisitor<T> visitor)
           
 HobbesType actual()
           
 boolean equals(java.lang.Object o)
           
 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
 

Field Detail

INTEGER_TYPE

public static IntegerType INTEGER_TYPE
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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

toShortString

public java.lang.String toShortString()
Specified by:
toShortString in interface HobbesType