Package openGql.grammar
Class ConjunctiveExpr
- java.lang.Object
-
- openGql.grammar.ConjunctiveExpr
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConjunctiveExpr>
public class ConjunctiveExpr extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ConjunctiveExpr>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description ValueExpressionleftstatic NameLEFTName of theopenGql.grammar.ConjunctiveExpr.leftfield.ValueExpressionrightstatic NameRIGHTName of theopenGql.grammar.ConjunctiveExpr.rightfield.static NameTYPE_Name of theopenGql.grammar.ConjunctiveExprtype.
-
Constructor Summary
Constructors Constructor Description ConjunctiveExpr(ValueExpression left, ValueExpression right)Constructs an immutableConjunctiveExpr.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ConjunctiveExpr other)booleanequals(java.lang.Object other)inthashCode()ConjunctiveExprwithLeft(ValueExpression left)Returns a copy of thisConjunctiveExprwithleftreplaced.ConjunctiveExprwithRight(ValueExpression right)Returns a copy of thisConjunctiveExprwithrightreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.ConjunctiveExprtype.
-
LEFT
public static final Name LEFT
Name of theopenGql.grammar.ConjunctiveExpr.leftfield.
-
RIGHT
public static final Name RIGHT
Name of theopenGql.grammar.ConjunctiveExpr.rightfield.
-
left
public final ValueExpression left
-
right
public final ValueExpression right
-
-
Constructor Detail
-
ConjunctiveExpr
public ConjunctiveExpr(ValueExpression left, ValueExpression right)
Constructs an immutableConjunctiveExpr.
-
-
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(ConjunctiveExpr other)
- Specified by:
compareToin interfacejava.lang.Comparable<ConjunctiveExpr>
-
withLeft
public ConjunctiveExpr withLeft(ValueExpression left)
Returns a copy of thisConjunctiveExprwithleftreplaced.
-
withRight
public ConjunctiveExpr withRight(ValueExpression right)
Returns a copy of thisConjunctiveExprwithrightreplaced.
-
-