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