Package util

Class FormulaeManager


  • public class FormulaeManager
    extends java.lang.Object
    Author:
    GBEMIRO
    • Constructor Summary

      Constructors 
      Constructor Description
      FormulaeManager()  
    • Method Summary

      Modifier and Type Method Description
      void clearFormula()
      deletes all Formulae objects in the storage.
      void deleteFormula​(int index)
      deletes Formulae objects based on their indices
      void deleteFormula​(java.lang.String expr)
      deletes Formulae objects based on their original expressions
      boolean hasFormula​(Formulae formula)  
      void recordFormula​(java.lang.String expr)
      records formulae as they are stored by the user
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormulaeManager

        public FormulaeManager()
    • 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.