T - the operator typepublic abstract class BinaryExpr<T> extends Object implements Expr
| Constructor and Description |
|---|
BinaryExpr(T operator,
Expr left,
Expr right)
Create a new
BinaryExpr. |
| Modifier and Type | Method and Description |
|---|---|
Optional<BinaryExpr<?>> |
asBinary()
Get this expression as a binary expression
|
Expr |
getLeft()
Get the left operand.
|
T |
getOperator()
Get the operator.
|
Expr |
getRight()
Get the right operand.
|
boolean |
isBinary()
Check if this expression is a binary expression.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, asArithmetic, asBoolean, asBooleanBinary, asBooleanUnary, asComparison, asGeometry, asMember, asMethodCall, asNumericValue, asTextValue, asTime, asUnary, isArithmetic, isBoolean, isBooleanBinary, isBooleanUnary, isComparison, isGeometry, isMember, isMethodCall, isNumericValue, isTextValue, isTime, isUnarypublic T getOperator()
public Expr getLeft()
public Expr getRight()
public boolean isBinary()
Exprpublic Optional<BinaryExpr<?>> asBinary()
ExprCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.