public abstract class BinaryExpression extends Object implements Expression
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()
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
evaluate
public BinaryExpression(Expression left, Expression right)
public Expression getLeft()
public Expression getRight()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public abstract String getExpressionSymbol()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.