public abstract class BinaryExpression extends Object implements Expression
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
left |
protected Expression |
right |
cache| Constructor and Description |
|---|
BinaryExpression(Expression left,
Expression right) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
TODO: more efficient hashCode()
|
abstract String |
getExpressionSymbol()
Returns the symbol that represents this binary expression.
|
Expression |
getLeft() |
Expression |
getRight() |
int |
hashCode()
TODO: more efficient hashCode()
|
void |
setLeft(Expression expression) |
void |
setRight(Expression expression) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitclearCache, evaluate, parseprotected Expression left
protected Expression right
public BinaryExpression(Expression left, Expression right)
public Expression getLeft()
public Expression getRight()
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object o)
equals in class ObjectObject.equals(java.lang.Object)public abstract String getExpressionSymbol()
public void setRight(Expression expression)
expression - right Expressionpublic void setLeft(Expression expression)
expression - left ExpressionCopyright © 2020 JBoss by Red Hat. All rights reserved.