public class SimpleArithmeticExpr extends BinaryExpr<FilterConstants.SimpleArithmeticOperator> implements ArithmeticExpr
| Constructor and Description |
|---|
SimpleArithmeticExpr(FilterConstants.SimpleArithmeticOperator operator,
ArithmeticExpr left,
ArithmeticExpr right)
Create a new
BinaryExpr. |
| Modifier and Type | Method and Description |
|---|---|
<T,X extends Throwable> |
accept(ExprVisitor<T,X> visitor)
Accepts
visitor for this expression. |
Optional<ArithmeticExpr> |
asArithmetic()
Get this expression as a arithmetic expression
|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isArithmetic()
Check if this expression is a arithmetic expresion.
|
asBinary, getLeft, getOperator, getRight, isBinary, toODataString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitasBinary, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTextValue, asTime, asUnary, isBinary, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTextValue, isTime, isUnarytoODataStringpublic SimpleArithmeticExpr(FilterConstants.SimpleArithmeticOperator operator, ArithmeticExpr left, ArithmeticExpr right)
BinaryExpr.operator - the operatorleft - the left operandright - the right operandpublic boolean isArithmetic()
isArithmetic in interface ArithmeticExprisArithmetic in interface Exprpublic Optional<ArithmeticExpr> asArithmetic()
asArithmetic in interface ArithmeticExprasArithmetic in interface ExprOptional.empty() if the type does not matchpublic <T,X extends Throwable> T accept(ExprVisitor<T,X> visitor) throws X extends Throwable
visitor for this expression.public int hashCode()
hashCode in class BinaryExpr<FilterConstants.SimpleArithmeticOperator>public boolean equals(Object o)
equals in class BinaryExpr<FilterConstants.SimpleArithmeticOperator>Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.