|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPandora.LogicParser.Formula.Term
Pandora.LogicParser.Formula.AExp.AExp
Pandora.LogicParser.Formula.AExp.Multiply
public class Multiply
Creates a multiplication expression.
Extends AExp.
| Field Summary |
|---|
| Fields inherited from class Pandora.LogicParser.Formula.AExp.AExp |
|---|
left, right |
| Constructor Summary | |
|---|---|
Multiply(Term left,
Term right)
Constructs a new Multiply AExp. |
|
| Method Summary | |
|---|---|
java.lang.String |
display()
Returns a String to display the multiply expression. |
Term |
sub(Term a,
Term b)
Substitutes all the occurences of Term a by Term b. |
| Methods inherited from class Pandora.LogicParser.Formula.AExp.AExp |
|---|
addToSignature, clashes, clone, getLeft, getName, getRight, isIn, setVars |
| Methods inherited from class Pandora.LogicParser.Formula.Term |
|---|
concatNoDup, equals, getVars, isIn, isInVars |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Multiply(Term left,
Term right)
left - the term on the left side of the times symbolright - the term on the right side of the times symbol| Method Detail |
|---|
public java.lang.String display()
display in class AExp
public Term sub(Term a,
Term b)
sub in class Terma - represents the Term to be substituted.b - represents the Term used to substitute the Term x
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||