Package util
Class FormulaeManager
- java.lang.Object
-
- util.FormulaeManager
-
public class FormulaeManager extends java.lang.Object- Author:
- GBEMIRO
-
-
Constructor Summary
Constructors Constructor Description FormulaeManager()
-
Method Summary
Modifier and Type Method Description voidclearFormula()deletes all Formulae objects in the storage.voiddeleteFormula(int index)deletes Formulae objects based on their indicesvoiddeleteFormula(java.lang.String expr)deletes Formulae objects based on their original expressionsbooleanhasFormula(Formulae formula)voidrecordFormula(java.lang.String expr)records formulae as they are stored by the user
-
-
-
Method Detail
-
recordFormula
public void recordFormula(java.lang.String expr)
records formulae as they are stored by the user- Parameters:
expr- the formula to store
-
deleteFormula
public void deleteFormula(int index)
deletes Formulae objects based on their indices- Parameters:
index- the position of the Formulae object within the store
-
deleteFormula
public void deleteFormula(java.lang.String expr)
deletes Formulae objects based on their original expressions- Parameters:
expr- The expression
-
hasFormula
public boolean hasFormula(Formulae formula)
- Parameters:
formula-- Returns:
- true if the Formulae manager already contains this Formulae object.
-
clearFormula
public void clearFormula()
deletes all Formulae objects in the storage.
-
-