Package com.singularsys.jep.standard
Class StandardComponents
java.lang.Object
com.singularsys.jep.ComponentSet
com.singularsys.jep.standard.StandardComponents
The standard set of components.
- Author:
- Richard Morris
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBuild 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 TypeMethodDescriptionstatic Evaluatorstatic FunctionTablestatic NodeFactorystatic NumberFactorystatic OperatorTableIstatic Parserstatic PrintVisitorstatic VariableFactorystatic VariableTableMethods 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
-
Constructor Details
-
StandardComponents
public StandardComponents() -
StandardComponents
Build a set of components using those from the jep instance and standard components if the jep components are null.- Parameters:
j-
-
StandardComponents
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
-
createDefaultVariableFactory
-
createDefaultNodeFactory
-
createDefaultFunctionTable
-
createDefaultVariableTable
-
createDefaultOperatorTable
-
createDefaultParser
-
createDefaultEvaluator
-
createDefaultPrintVisitor
-