public abstract class BinaryExpression extends java.lang.Object implements Expression
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
left |
protected Expression |
right |
| Constructor and Description |
|---|
BinaryExpression(Expression left,
Expression right) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
TODO: more efficient hashCode()
|
abstract java.lang.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) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitevaluateprotected Expression left
protected Expression right
public BinaryExpression(Expression left, Expression right)
public Expression getLeft()
public Expression getRight()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public abstract java.lang.String getExpressionSymbol()
public void setRight(Expression expression)
expression - the expression to setpublic void setLeft(Expression expression)
expression - the expression to setCopyright © 2003-2014. All Rights Reserved.