Package openGql.grammar
Class VerboseBinaryExactNumericType.SmallInteger
- java.lang.Object
-
- openGql.grammar.VerboseBinaryExactNumericType
-
- openGql.grammar.VerboseBinaryExactNumericType.SmallInteger
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<VerboseBinaryExactNumericType>
- Enclosing class:
- VerboseBinaryExactNumericType
public static final class VerboseBinaryExactNumericType.SmallInteger extends VerboseBinaryExactNumericType implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.VerboseBinaryExactNumericType
VerboseBinaryExactNumericType.BigInteger, VerboseBinaryExactNumericType.Integer128, VerboseBinaryExactNumericType.Integer16, VerboseBinaryExactNumericType.Integer256, VerboseBinaryExactNumericType.Integer32, VerboseBinaryExactNumericType.Integer64, VerboseBinaryExactNumericType.Integer8, VerboseBinaryExactNumericType.IntegerWithPrecision, VerboseBinaryExactNumericType.PartialVisitor<R>, VerboseBinaryExactNumericType.SmallInteger, VerboseBinaryExactNumericType.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description SmallIntegerTypevalue-
Fields inherited from class openGql.grammar.VerboseBinaryExactNumericType
BIG_INTEGER, INTEGER_WITH_PRECISION, INTEGER128, INTEGER16, INTEGER256, INTEGER32, INTEGER64, INTEGER8, SMALL_INTEGER, TYPE_
-
-
Constructor Summary
Constructors Constructor Description SmallInteger(SmallIntegerType value)Constructs an immutableVerboseBinaryExactNumericType.SmallInteger.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(VerboseBinaryExactNumericType.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(VerboseBinaryExactNumericType other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final SmallIntegerType value
-
-
Constructor Detail
-
SmallInteger
public SmallInteger(SmallIntegerType value)
Constructs an immutableVerboseBinaryExactNumericType.SmallInteger.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(VerboseBinaryExactNumericType other)
- Specified by:
compareToin interfacejava.lang.Comparable<VerboseBinaryExactNumericType>
-
accept
public <R> R accept(VerboseBinaryExactNumericType.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classVerboseBinaryExactNumericType
-
-