| 
 | |||||||||
| 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.Subtract
public class Subtract
Creates a subtraction expression. 
        Extends AExp.
| Field Summary | 
|---|
| Fields inherited from class Pandora.LogicParser.Formula.AExp.AExp | 
|---|
| left, right | 
| Constructor Summary | |
|---|---|
| Subtract(Term left,
         Term right)Constructs a new Subtract AExp. | |
| Method Summary | |
|---|---|
|  java.lang.String | display()Returns a String to display the subtract 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 Subtract(Term left,
                Term right)
left - the term on the left side of the plus symbolright - the term on the right side of the plus 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 | ||||||||