Package openGql.grammar
Class GeneralLiteral.NullLiteral
- java.lang.Object
-
- openGql.grammar.GeneralLiteral
-
- openGql.grammar.GeneralLiteral.NullLiteral
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeneralLiteral>
- Enclosing class:
- GeneralLiteral
public static final class GeneralLiteral.NullLiteral extends GeneralLiteral implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.GeneralLiteral
GeneralLiteral.Boolean_, GeneralLiteral.ByteString, GeneralLiteral.CharacterString, GeneralLiteral.Duration, GeneralLiteral.List, GeneralLiteral.NullLiteral, GeneralLiteral.PartialVisitor<R>, GeneralLiteral.Record, GeneralLiteral.Temporal, GeneralLiteral.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Voidvalue-
Fields inherited from class openGql.grammar.GeneralLiteral
BOOLEAN, BYTE_STRING, CHARACTER_STRING, DURATION, LIST, NULL_LITERAL, RECORD, TEMPORAL, TYPE_
-
-
Constructor Summary
Constructors Constructor Description NullLiteral(java.lang.Void value)Constructs an immutableGeneralLiteral.NullLiteral.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(GeneralLiteral.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(GeneralLiteral other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Constructor Detail
-
NullLiteral
public NullLiteral(java.lang.Void value)
Constructs an immutableGeneralLiteral.NullLiteral.
-
-
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(GeneralLiteral other)
- Specified by:
compareToin interfacejava.lang.Comparable<GeneralLiteral>
-
accept
public <R> R accept(GeneralLiteral.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classGeneralLiteral
-
-