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