Class ArithmeticExpression
java.lang.Object
com.blazebit.persistence.parser.expression.AbstractExpression
com.blazebit.persistence.parser.expression.AbstractNumericExpression
com.blazebit.persistence.parser.expression.ArithmeticExpression
- All Implemented Interfaces:
Expression,NumericExpression
- Since:
- 1.2.0
- Author:
- Moritz Becker
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.parser.expression.Expression
Expression.ResultVisitor<T>, Expression.Visitor -
Constructor Summary
ConstructorsConstructorDescriptionArithmeticExpression(Expression left, Expression right, ArithmeticOperator op) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(Expression.ResultVisitor<T> visitor) voidaccept(Expression.Visitor visitor) The expression tree is traversed in pre-order.copy(ExpressionCopyContext copyContext) booleangetLeft()getOp()getRight()inthashCode()voidsetLeft(Expression left) voidsetRight(Expression right) Methods inherited from class com.blazebit.persistence.parser.expression.AbstractNumericExpression
getNumericTypeMethods inherited from class com.blazebit.persistence.parser.expression.AbstractExpression
toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.blazebit.persistence.parser.expression.Expression
toString
-
Constructor Details
-
ArithmeticExpression
-
-
Method Details
-
getLeft
-
setLeft
-
getRight
-
setRight
-
getOp
-
copy
- Specified by:
copyin interfaceExpression- Specified by:
copyin classAbstractNumericExpression- Returns:
-
accept
Description copied from interface:ExpressionThe expression tree is traversed in pre-order. -
accept
-
equals
- Overrides:
equalsin classAbstractNumericExpression
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractNumericExpression
-