Package hydra.core
Class IntegerValue
- java.lang.Object
-
- hydra.core.IntegerValue
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IntegerValue>
- Direct Known Subclasses:
IntegerValue.Bigint,IntegerValue.Int16,IntegerValue.Int32,IntegerValue.Int64,IntegerValue.Int8,IntegerValue.Uint16,IntegerValue.Uint32,IntegerValue.Uint64,IntegerValue.Uint8
public abstract class IntegerValue extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<IntegerValue>
An integer literal value- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntegerValue.BigintAn arbitrary-precision integer valuestatic classIntegerValue.Int16A 16-bit signed integer value (short value)static classIntegerValue.Int32A 32-bit signed integer value (int value)static classIntegerValue.Int64A 64-bit signed integer value (long value)static classIntegerValue.Int8An 8-bit signed integer valuestatic interfaceIntegerValue.PartialVisitor<R>Partial visitor overIntegerValuewith a defaultIntegerValue.PartialVisitor.otherwise(hydra.core.IntegerValue)branch.static classIntegerValue.Uint16A 16-bit unsigned integer valuestatic classIntegerValue.Uint32A 32-bit unsigned integer value (unsigned int)static classIntegerValue.Uint64A 64-bit unsigned integer value (unsigned long)static classIntegerValue.Uint8An 8-bit unsigned integer value (byte)static interfaceIntegerValue.Visitor<R>Visitor overIntegerValue.
-
Field Summary
Fields Modifier and Type Field Description static NameBIGINTName of thehydra.core.IntegerValue.bigintfield.static NameINT16Name of thehydra.core.IntegerValue.int16field.static NameINT32Name of thehydra.core.IntegerValue.int32field.static NameINT64Name of thehydra.core.IntegerValue.int64field.static NameINT8Name of thehydra.core.IntegerValue.int8field.static NameTYPE_Name of thehydra.core.IntegerValuetype.static NameUINT16Name of thehydra.core.IntegerValue.uint16field.static NameUINT32Name of thehydra.core.IntegerValue.uint32field.static NameUINT64Name of thehydra.core.IntegerValue.uint64field.static NameUINT8Name of thehydra.core.IntegerValue.uint8field.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(IntegerValue.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.core.IntegerValuetype.
-
BIGINT
public static final Name BIGINT
Name of thehydra.core.IntegerValue.bigintfield.
-
INT8
public static final Name INT8
Name of thehydra.core.IntegerValue.int8field.
-
INT16
public static final Name INT16
Name of thehydra.core.IntegerValue.int16field.
-
INT32
public static final Name INT32
Name of thehydra.core.IntegerValue.int32field.
-
INT64
public static final Name INT64
Name of thehydra.core.IntegerValue.int64field.
-
UINT8
public static final Name UINT8
Name of thehydra.core.IntegerValue.uint8field.
-
UINT16
public static final Name UINT16
Name of thehydra.core.IntegerValue.uint16field.
-
UINT32
public static final Name UINT32
Name of thehydra.core.IntegerValue.uint32field.
-
UINT64
public static final Name UINT64
Name of thehydra.core.IntegerValue.uint64field.
-
-
Method Detail
-
accept
public abstract <R> R accept(IntegerValue.Visitor<R> visitor)
Dispatch tovisitor.
-
-