|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.expr.BinaryTerm
public abstract class BinaryTerm
This class defines a binary term (having two operands) within an expression.
| Field Summary | |
|---|---|
protected Expression |
left
Left operand. |
protected Expression |
right
Right operand. |
| Constructor Summary | |
|---|---|
protected |
BinaryTerm()
Default constructor. |
protected |
BinaryTerm(Expression left,
Expression right)
Constructor using fields. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Compares this object against the specified object. |
Expression |
getLeft()
Get left operand. |
Expression |
getRight()
Get right operand. |
int |
hashCode()
|
void |
setLeft(Expression left)
Set left operand. |
void |
setRight(Expression right)
Set right operand. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface local.tomas.expr.Expression |
|---|
greet |
| Field Detail |
|---|
protected Expression left
protected Expression right
| Constructor Detail |
|---|
protected BinaryTerm()
protected BinaryTerm(Expression left,
Expression right)
left - left operandright - right operand| Method Detail |
|---|
public Expression getLeft()
public void setLeft(Expression left)
left - left operand.public Expression getRight()
public void setRight(Expression right)
right - right operand.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||