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