Package openGql.grammar
Class ExactNumericLiteral.UnsignedInteger
- java.lang.Object
-
- openGql.grammar.ExactNumericLiteral
-
- openGql.grammar.ExactNumericLiteral.UnsignedInteger
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ExactNumericLiteral>
- Enclosing class:
- ExactNumericLiteral
public static final class ExactNumericLiteral.UnsignedInteger extends ExactNumericLiteral implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.ExactNumericLiteral
ExactNumericLiteral.CommonWithoutSuffix, ExactNumericLiteral.CommonWithSuffix, ExactNumericLiteral.IntegerWithSuffix, ExactNumericLiteral.PartialVisitor<R>, ExactNumericLiteral.ScientificWithSuffix, ExactNumericLiteral.UnsignedInteger, ExactNumericLiteral.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description UnsignedIntegervalue-
Fields inherited from class openGql.grammar.ExactNumericLiteral
COMMON_WITH_SUFFIX, COMMON_WITHOUT_SUFFIX, INTEGER_WITH_SUFFIX, SCIENTIFIC_WITH_SUFFIX, TYPE_, UNSIGNED_INTEGER
-
-
Constructor Summary
Constructors Constructor Description UnsignedInteger(UnsignedInteger value)Constructs an immutableExactNumericLiteral.UnsignedInteger.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(ExactNumericLiteral.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(ExactNumericLiteral other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final UnsignedInteger value
-
-
Constructor Detail
-
UnsignedInteger
public UnsignedInteger(UnsignedInteger value)
Constructs an immutableExactNumericLiteral.UnsignedInteger.
-
-
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(ExactNumericLiteral other)
- Specified by:
compareToin interfacejava.lang.Comparable<ExactNumericLiteral>
-
accept
public <R> R accept(ExactNumericLiteral.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classExactNumericLiteral
-
-