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