public abstract class BinaryExpression extends 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(Object o) |
abstract String |
getExpressionSymbol()
Returns the symbol that represents this binary expression.
|
Expression |
getLeft() |
Expression |
getRight() |
int |
hashCode() |
void |
setLeft(Expression expression) |
void |
setRight(Expression expression) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
evaluate
protected Expression left
protected Expression right
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()
public void setRight(Expression expression)
expression
- public void setLeft(Expression expression)
expression
- Copyright © 2017 JBoss by Red Hat. All rights reserved.