Package openGql.grammar
Class UnsignedNumericLiteral.Exact
- java.lang.Object
-
- openGql.grammar.UnsignedNumericLiteral
-
- openGql.grammar.UnsignedNumericLiteral.Exact
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UnsignedNumericLiteral>
- Enclosing class:
- UnsignedNumericLiteral
public static final class UnsignedNumericLiteral.Exact extends UnsignedNumericLiteral implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.UnsignedNumericLiteral
UnsignedNumericLiteral.Approximate, UnsignedNumericLiteral.Exact, UnsignedNumericLiteral.PartialVisitor<R>, UnsignedNumericLiteral.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description ExactNumericLiteralvalue-
Fields inherited from class openGql.grammar.UnsignedNumericLiteral
APPROXIMATE, EXACT, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Exact(ExactNumericLiteral value)Constructs an immutableUnsignedNumericLiteral.Exact.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(UnsignedNumericLiteral.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(UnsignedNumericLiteral other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final ExactNumericLiteral value
-
-
Constructor Detail
-
Exact
public Exact(ExactNumericLiteral value)
Constructs an immutableUnsignedNumericLiteral.Exact.
-
-
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(UnsignedNumericLiteral other)
- Specified by:
compareToin interfacejava.lang.Comparable<UnsignedNumericLiteral>
-
accept
public <R> R accept(UnsignedNumericLiteral.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classUnsignedNumericLiteral
-
-