Package com.singularsys.jep.standard

# Class StandardComponents

java.lang.Object
com.singularsys.jep.ComponentSet
com.singularsys.jep.standard.StandardComponents

public class StandardComponents extends ComponentSet
The standard set of components.

Author:
  Richard Morris
See Also:
  - `DoubleNumberFactory`
  - `VariableFactory`
  - `NodeFactory`
  - `StandardFunctionTable`
  - `StandardVariableTable`
  - `StandardOperatorTable2`
  - `StandardParser`
  - `FastEvaluator`
  - `PrintVisitor`

- ## Field Summary

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

  `auxComps, evaluator, funTab, nodeFac, numFac, opTab, parser, pv, varFac, varTab`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StandardComponents()`
  `StandardComponents(Jep j)`
  Build a set of components using those from the jep instance and standard components if the jep components are null.
  `StandardComponents(JepComponent... replacements)`
  Create a StandardCompents where replacement for some components are specified in the constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Evaluator`
  `createDefaultEvaluator()`
  `static FunctionTable`
  `createDefaultFunctionTable()`
  `static NodeFactory`
  `createDefaultNodeFactory()`
  `static NumberFactory`
  `createDefaultNumberFactory()`
  `static OperatorTableI`
  `createDefaultOperatorTable()`
  `static Parser`
  `createDefaultParser()`
  `static PrintVisitor`
  `createDefaultPrintVisitor()`
  `static VariableFactory`
  `createDefaultVariableFactory()`
  `static VariableTable`
  `createDefaultVariableTable(VariableFactory vf)`

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

  `addAuxComponent, addComponents, findOrElse, getAuxComponents, getAuxComps, getBaseComponents, getComponents, getEvaluator, getFunctionTable, getNodeFactory, getNumberFactory, getOperatorTable, getParser, getPrintVisitor, getVariableFactory, getVariableTable, setAuxComps, setEvaluator, setFunctionTable, setNodeFactory, setNumberFactory, setOperatorTable, setParser, setPrintVisitor, setVariableFactory, setVariableTable`

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

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

- ## Constructor Details

  - ### StandardComponents

    public StandardComponents()

  - ### StandardComponents

    public StandardComponents(Jep j)
    Build a set of components using those from the jep instance and standard components if the jep components are null.
    Parameters:
      `j` -

  - ### StandardComponents

    public StandardComponents(JepComponent... replacements)
    Create a StandardCompents where replacement for some components are specified in the constructor.

    For example for use cases where you don't need to parse or print the expression you could use.

                Jep jep = new Jep(
                        new StandardComponents(
                                NullParser.NULL_PARSER,
                                PrintVisitor.NULL_PRINT_VISITOR));
            }

    Parameters:
      `replacements` - set of components to use in preference.

- ## Method Details

  - ### createDefaultNumberFactory

    public static NumberFactory createDefaultNumberFactory()

  - ### createDefaultVariableFactory

    public static VariableFactory createDefaultVariableFactory()

  - ### createDefaultNodeFactory

    public static NodeFactory createDefaultNodeFactory()

  - ### createDefaultFunctionTable

    public static FunctionTable createDefaultFunctionTable()

  - ### createDefaultVariableTable

    public static VariableTable createDefaultVariableTable(VariableFactory vf)

  - ### createDefaultOperatorTable

    public static OperatorTableI createDefaultOperatorTable()

  - ### createDefaultParser

    public static Parser createDefaultParser()

  - ### createDefaultEvaluator

    public static Evaluator createDefaultEvaluator()

  - ### createDefaultPrintVisitor

    public static PrintVisitor createDefaultPrintVisitor()