Package com.singularsys.jep

# Interface OperatorTableI

All Superinterfaces:
  `JepComponent`, `Serializable`

All Known Implementing Classes:
  `BigDecOperatorTable`, `BitwiseOperatorTable`, `EmptyOperatorTable`, `ExtendedOperatorSet`, `JavaOperatorTable`, `NullWrappedOperatorTable`, `OperatorTable`, `OperatorTable2`, `StandardOperatorTable`, `StandardOperatorTable2`

public interface OperatorTableI extends JepComponent
Interface for all OperatorTables.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Operator`
  `getAdd()`
  Gets the operator used for addition
  `List<Operator>`
  `getAllOperatorsByName(String name)`
  Get all operators with a given name.
  `Operator`
  `getAnd()`
  Gets the operator used for logical AND
  `Operator`
  `getAssign()`
  Gets the operator used for assignment
  `Operator`
  `getCross()`
  Gets the operator used for 3D cross product
  `Operator`
  `getDivide()`
  Gets the operator used for division
  `Operator`
  `getDot()`
  Gets the operator used for the dot product
  `Operator`
  `getEle()`
  Gets the operator used for getting and setting elements of a list
  `Operator`
  `getEQ()`
  Gets the operator used for equals
  `Operator`
  `getGE()`
  Gets the operator used for greater than or equals to
  `Operator`
  `getGT()`
  Gets the operator used for greater-than
  `Operator`
  `getLE()`
  Gets the operator used for less-than or equals to
  `Operator`
  `getList()`
  Gets the operator used for creation of lists `[1,2,3]`
  `Operator`
  `getLT()`
  Gets the operator used for less-than
  `Operator`
  `getMod()`
  Gets the operator used for modulus
  `Operator`
  `getMultiply()`
  Gets the operator used for multiplication
  `Operator`
  `getNE()`
  Gets the operator used for not equals
  `Operator`
  `getNop()`
  Gets the no-op operator
  `Operator`
  `getNot()`
  Gets the operator used for logical NOT
  `Operator`
  `getOperatorByName(String name)`
  Get the operator with a given name
  `Collection<Operator>`
  `getOperators()`
  `Operator`
  `getOperatorsByName(String name)`
  Deprecated.
  Use `getOperatorByName(String)` or `getAllOperatorsByName(String)`
  `List<Operator>`
  `getOperatorsBySymbol(String symbol)`
  Gets all the operators with a given symbol
  `Operator`
  `getOr()`
  Gets the operator used for logical OR
  `Operator`
  `getPower()`
  Gets the operator used for powers
  `Operator`
  `getRange()`
  Gets the operator used for specifying a range
  `Operator`
  `getSubtract()`
  Gets the operator used for subtraction
  `Operator`
  `getUDivide()`
  unary division i.e. 1/x or x^(-1) *
  `Operator`
  `getUMinus()`
  Gets the operator used for unitary minus `-x`
  `Operator`
  `getUPlus()`
  Gets the operator used for unary addition `+x`
  `OperatorTableI`
  `shallowCopy()`
  Create a new version of this OperatorTable.

  ### Methods inherited from interface com.singularsys.jep.JepComponent

  `getLightWeightInstance, init`

- ## Method Details

  - ### getOperatorsBySymbol

    List<Operator> getOperatorsBySymbol(String symbol)
    Gets all the operators with a given symbol
    Parameters:
      `symbol` - symbol used for operator
    Returns:
      list of operators with a given symbol, empty list if none are found.

  - ### getOperatorsByName

    @Deprecated(since="Jep 4.1") Operator getOperatorsByName(String name)
    Deprecated.
    Use `getOperatorByName(String)` or `getAllOperatorsByName(String)`
    Get the operator with a given name. Deprecated since 4.1, use `getOperatorByName(String)` instead, as this method name is misleading, as it returns only one operator.
    Parameters:
      `name` - unique name of operator
    Returns:
      the operator or null if not found

  - ### getOperatorByName

    Operator getOperatorByName(String name)
    Get the operator with a given name
    Parameters:
      `name` - unique name of operator
    Returns:
      the operator or null if not found
    Since:
      Jep 4.1

  - ### getAllOperatorsByName

    List<Operator> getAllOperatorsByName(String name)
    Get all operators with a given name.
    Parameters:
      `name` - unique name of operator
    Returns:
      the operator or null if not found
    Since:
      Jep 4.1

  - ### getOperators

    Collection<Operator> getOperators()

  - ### getNop

    Operator getNop()
    Gets the no-op operator

  - ### getAdd

    Operator getAdd()
    Gets the operator used for addition

  - ### getSubtract

    Operator getSubtract()
    Gets the operator used for subtraction

  - ### getUMinus

    Operator getUMinus()
    Gets the operator used for unitary minus `-x`

  - ### getUPlus

    Operator getUPlus()
    Gets the operator used for unary addition `+x`

  - ### getMultiply

    Operator getMultiply()
    Gets the operator used for multiplication

  - ### getDivide

    Operator getDivide()
    Gets the operator used for division

  - ### getMod

    Operator getMod()
    Gets the operator used for modulus

  - ### getUDivide

    Operator getUDivide()
    unary division i.e. 1/x or x^(-1) *

  - ### getPower

    Operator getPower()
    Gets the operator used for powers

  - ### getGT

    Operator getGT()
    Gets the operator used for greater-than

  - ### getLT

    Operator getLT()
    Gets the operator used for less-than

  - ### getLE

    Operator getLE()
    Gets the operator used for less-than or equals to

  - ### getGE

    Operator getGE()
    Gets the operator used for greater than or equals to

  - ### getNE

    Operator getNE()
    Gets the operator used for not equals

  - ### getEQ

    Operator getEQ()
    Gets the operator used for equals

  - ### getAnd

    Operator getAnd()
    Gets the operator used for logical AND

  - ### getOr

    Operator getOr()
    Gets the operator used for logical OR

  - ### getNot

    Operator getNot()
    Gets the operator used for logical NOT

  - ### getAssign

    Operator getAssign()
    Gets the operator used for assignment

  - ### getDot

    Operator getDot()
    Gets the operator used for the dot product

  - ### getCross

    Operator getCross()
    Gets the operator used for 3D cross product

  - ### getList

    Operator getList()
    Gets the operator used for creation of lists `[1,2,3]`

  - ### getEle

    Operator getEle()
    Gets the operator used for getting and setting elements of a list

  - ### getRange

    Operator getRange()
    Gets the operator used for specifying a range

  - ### shallowCopy

    OperatorTableI shallowCopy()
    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.
    Returns:
      a new OperatorTable
    Since:
      4.0