Raptor.ProgramParser.Statements.PBExp
Class PNotEqual

java.lang.Object
  extended by Raptor.LogicParser.Formula.Formula
      extended by Raptor.ProgramParser.Statements.PBExp.PBExp
          extended by Raptor.ProgramParser.Statements.PBExp.PNotEqual
All Implemented Interfaces:
java.io.Serializable

public class PNotEqual
extends PBExp

Creates a not equal to expression.
Extends BExp.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class Raptor.ProgramParser.Statements.PBExp.PBExp
left, op, right
 
Constructor Summary
PNotEqual(PTerm pLeft, PTerm pRight)
          Constructs a new NotEqual BExp.
 
Method Summary
 Formula regenerate()
          Returns a copy of the Formula which can be saved as part of the copy made for the undo function.
 Formula s()
          Creates VVar to replace PVar in the formula where necessary.
 Term ST()
           
 Formula subAll(PTerm left, PTerm right)
           
 Formula subBoolRes(java.lang.String display)
           
 
Methods inherited from class Raptor.ProgramParser.Statements.PBExp.PBExp
addToSignature, checkSub, clashes, display, getLeftTerm, getPrecedence, getRightTerm, getTerms, setAtoms, setVars, subAll
 
Methods inherited from class Raptor.LogicParser.Formula.Formula
check, concatNoDup, getAtoms, getLeft, getRight, getTuples, getVars, higher, map, setLeft, setRight, setTuples, showTuples, sub, subBool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PNotEqual

public PNotEqual(PTerm pLeft,
                 PTerm pRight)
Constructs a new NotEqual BExp.

Parameters:
pLeft - the program term on the left side of the equivalence symbol
pRight - the program term on the right side of the equivalence symbol
Method Detail

s

public Formula s()
Creates VVar to replace PVar in the formula where necessary.

Specified by:
s in class Formula

regenerate

public Formula regenerate()
Returns a copy of the Formula which can be saved as part of the copy made for the undo function.

Specified by:
regenerate in class Formula

ST

public Term ST()
Specified by:
ST in class Formula

subAll

public Formula subAll(PTerm left,
                      PTerm right)
Specified by:
subAll in class Formula

subBoolRes

public Formula subBoolRes(java.lang.String display)
Specified by:
subBoolRes in class Formula