Package com.singularsys.jep
Class ComponentSet
java.lang.Object
com.singularsys.jep.ComponentSet
- Direct Known Subclasses:
BigDecComponents
,LightWeightComponentSet
,MediumWeightComponentSet
,RealComponents
,StandardComponents
Collects all the components which make up the Jep system.
- Author:
- Richard Morris
-
Field Summary
Modifier and TypeFieldDescriptionprotected JepComponent[]
protected Evaluator
protected FunctionTable
protected NodeFactory
protected NumberFactory
protected OperatorTableI
protected Parser
protected PrintVisitor
protected VariableFactory
protected VariableTable
-
Constructor Summary
ConstructorDescriptionCreate a component set with all componentsnull
.ComponentSet
(Jep j) Uses the components from the jep instanceComponentSet
(JepComponent[] components) Use the given list of components, any unspecified one will be set tonull
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuxComponent
(JepComponent comp) void
addComponents
(JepComponent[] components) void
setAuxComps
(JepComponent[] auxComps) void
setEvaluator
(Evaluator evaluator) void
setFunctionTable
(FunctionTable funTab) void
setNodeFactory
(NodeFactory nodeFac) void
setNumberFactory
(NumberFactory numFac) void
setOperatorTable
(OperatorTableI operatorTableI) void
void
void
setVariableFactory
(VariableFactory varFac) void
setVariableTable
(VariableTable varTab)
-
Field Details
-
numFac
-
varFac
-
nodeFac
-
varTab
-
funTab
-
opTab
-
parser
-
evaluator
-
pv
-
auxComps
-
-
Constructor Details
-
ComponentSet
public ComponentSet()Create a component set with all componentsnull
. -
ComponentSet
Uses the components from the jep instance- Parameters:
j
- jep instance
-
ComponentSet
Use the given list of components, any unspecified one will be set tonull
.- Parameters:
components
- Components- Since:
- 3.4.0
-
-
Method Details
-
addComponents
-
getComponents
-
getBaseComponents
-
getAuxComponents
-
getNumberFactory
-
getNodeFactory
-
getVariableFactory
-
getVariableTable
-
getFunctionTable
-
getOperatorTable
-
getParser
-
getEvaluator
-
getPrintVisitor
-
setNodeFactory
-
setNumberFactory
-
setVariableFactory
-
setFunctionTable
-
setVariableTable
-
setOperatorTable
-
setEvaluator
-
setParser
-
setPrintVisitor
-
addAuxComponent
-
getAuxComps
-
setAuxComps
-