org.norecess.citkit.types
Class IntegerType
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
INTEGER_TYPE
public static IntegerType INTEGER_TYPE
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