Package com.singularsys.jep.standard

# 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:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class com.singularsys.jep.OperatorTable

  `baseNumOps, numOps, OP_ADD, OP_AND, OP_ASSIGN, OP_CROSS, OP_DIVIDE, OP_DOT, OP_ELEMENT, OP_EQ, OP_GE, OP_GT, OP_LE, OP_LIST, OP_LT, OP_MOD, OP_MULTIPLY, OP_NE, OP_NEGATE, OP_NOP, OP_NOT, OP_OR, OP_POWER, OP_RANGE, OP_RECIP, OP_SUBTRACT, OP_UPLUS, ops`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  ``
  `StandardOperatorTable()`
  Create the standard set of operators.
  `protected`
  `StandardOperatorTable(Operator[] ops)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `init(Jep jep)`
  Initialize the component.
  `OperatorTableI`
  `shallowCopy()`
  Create a new version of this OperatorTable.

  ### Methods inherited from class com.singularsys.jep.OperatorTable

  `addOperator, addOperator, addOperator, addOperator, appendOperator, appendOperator, getAdd, getAllOperatorsByName, getAnd, getAssign, getCross, getDivide, getDot, getEle, getEQ, getGE, getGT, getLE, getLightWeightInstance, getList, getLT, getMod, getMultiply, getNE, getNop, getNot, getNumOps, getOperator, getOperatorByName, getOperators, getOperatorsByName, getOperatorsBySymbol, getOr, getPower, getRange, getSubtract, getUDivide, getUMinus, getUPlus, insertOperator, insertOperator, removeOperator, replaceOperator, setBinaryInverseOp, setDistributiveOver, setInverseOp, setNumOps, setPrecedenceTable, setRootOp, setStandardOperatorRelations, threadSafeMapCopy, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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