Class StandardOperatorTable

java.lang.Object
com.singularsys.jep.OperatorTable
com.singularsys.jep.standard.StandardOperatorTable
All Implemented Interfaces:
JepComponent, OperatorTableI, Serializable

public class StandardOperatorTable extends OperatorTable
The old standard operator table used by Jep. Now replaced by StandardOperatorTable2
Author:
Richard Morris
See Also:
  • Constructor Details

    • StandardOperatorTable

      public StandardOperatorTable()
      Create the standard set of operators.
    • StandardOperatorTable

      protected StandardOperatorTable(Operator[] ops)
  • Method Details

    • init

      public void init(Jep jep)
      Description copied from interface: JepComponent
      Initialize the component. This method is called whenever a component is added to Jep. Hence, it allows components to keep track of the other components they may rely on.
      Specified by:
      init in interface JepComponent
      Overrides:
      init in class OperatorTable
      Parameters:
      jep - the current Jep instance
    • shallowCopy

      public OperatorTableI shallowCopy()
      Description copied from interface: OperatorTableI
      Create a new version of this OperatorTable. Existing Operators are copied into new table. However, Operators whose pfmc's implement JepComponent are duplicated, this means the table could be used in multiple threads without problem.
      Specified by:
      shallowCopy in interface OperatorTableI
      Overrides:
      shallowCopy in class OperatorTable
      Returns:
      a new OperatorTable