at.jku.risc.stout.nau.data
public abstract class Equation<T extends Printable> extends Printable implements DeepCopy<Equation<T>>
Constructor and Description |
---|
Equation(T left,
T right)
An equation consists of two terms, which are called the left and the
right part of the equation, respectively.
|
Modifier and Type | Method and Description |
---|---|
T |
getLeft()
Returns the left part of the equation.
|
T |
getRight()
Returns the right part of the equation.
|
void |
setLeft(T left)
Changes the left part of the equation.
|
void |
setRight(T right)
Changes the right part of the equation.
|
printString, printString, toString
public T getLeft()
public T getRight()
public void setLeft(T left)
public void setRight(T right)