Package openGql.grammar
Class ConjunctionLabelExpression
- java.lang.Object
-
- openGql.grammar.ConjunctionLabelExpression
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConjunctionLabelExpression>
public class ConjunctionLabelExpression extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ConjunctionLabelExpression>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description LabelExpressionleftstatic NameLEFTName of theopenGql.grammar.ConjunctionLabelExpression.leftfield.LabelExpressionrightstatic NameRIGHTName of theopenGql.grammar.ConjunctionLabelExpression.rightfield.static NameTYPE_Name of theopenGql.grammar.ConjunctionLabelExpressiontype.
-
Constructor Summary
Constructors Constructor Description ConjunctionLabelExpression(LabelExpression left, LabelExpression right)Constructs an immutableConjunctionLabelExpression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ConjunctionLabelExpression other)booleanequals(java.lang.Object other)inthashCode()ConjunctionLabelExpressionwithLeft(LabelExpression left)Returns a copy of thisConjunctionLabelExpressionwithleftreplaced.ConjunctionLabelExpressionwithRight(LabelExpression right)Returns a copy of thisConjunctionLabelExpressionwithrightreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.ConjunctionLabelExpressiontype.
-
LEFT
public static final Name LEFT
Name of theopenGql.grammar.ConjunctionLabelExpression.leftfield.
-
RIGHT
public static final Name RIGHT
Name of theopenGql.grammar.ConjunctionLabelExpression.rightfield.
-
left
public final LabelExpression left
-
right
public final LabelExpression right
-
-
Constructor Detail
-
ConjunctionLabelExpression
public ConjunctionLabelExpression(LabelExpression left, LabelExpression right)
Constructs an immutableConjunctionLabelExpression.
-
-
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(ConjunctionLabelExpression other)
- Specified by:
compareToin interfacejava.lang.Comparable<ConjunctionLabelExpression>
-
withLeft
public ConjunctionLabelExpression withLeft(LabelExpression left)
Returns a copy of thisConjunctionLabelExpressionwithleftreplaced.
-
withRight
public ConjunctionLabelExpression withRight(LabelExpression right)
Returns a copy of thisConjunctionLabelExpressionwithrightreplaced.
-
-