com.singularsys.jep
Class ComponentSet
java.lang.Object
com.singularsys.jep.ComponentSet
- Direct Known Subclasses:
- BigDecComponents, LightWeightComponentSet, StandardComponents
public class ComponentSet
- extends java.lang.Object
Collects all the components which make up the Jep system.
- Author:
- Richard Morris
Constructor Summary |
ComponentSet()
Create a component set with all components null . |
ComponentSet(Jep j)
Uses the components from the jep instance |
ComponentSet(JepComponent[] components)
Use the given list of components, any unspecified one will be set to null . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numFac
protected NumberFactory numFac
varFac
protected VariableFactory varFac
nodeFac
protected NodeFactory nodeFac
varTab
protected VariableTable varTab
funTab
protected FunctionTable funTab
opTab
protected OperatorTableI opTab
parser
protected Parser parser
evaluator
protected Evaluator evaluator
pv
protected PrintVisitor pv
auxComps
protected JepComponent[] auxComps
ComponentSet
public ComponentSet()
- Create a component set with all components
null
.
ComponentSet
public ComponentSet(Jep j)
- Uses the components from the jep instance
- Parameters:
j
- jep instance
ComponentSet
public ComponentSet(JepComponent[] components)
- Use the given list of components, any unspecified one will be set to
null
.
- Parameters:
components
- - Since:
- 3.4.0
getComponents
public JepComponent[] getComponents()
getBaseComponents
public JepComponent[] getBaseComponents()
getAuxComponents
public JepComponent[] getAuxComponents()
getNumberFactory
public NumberFactory getNumberFactory()
getNodeFactory
public NodeFactory getNodeFactory()
getVariableFactory
public VariableFactory getVariableFactory()
getVariableTable
public VariableTable getVariableTable()
getFunctionTable
public FunctionTable getFunctionTable()
getOperatorTable
public OperatorTableI getOperatorTable()
getParser
public Parser getParser()
getEvaluator
public Evaluator getEvaluator()
getPrintVisitor
public PrintVisitor getPrintVisitor()
setNodeFactory
public void setNodeFactory(NodeFactory nodeFac)
setNumberFactory
public void setNumberFactory(NumberFactory numFac)
setVariableFactory
public void setVariableFactory(VariableFactory varFac)
setFunctionTable
public void setFunctionTable(FunctionTable funTab)
setVariableTable
public void setVariableTable(VariableTable varTab)
setOperatorTable
public void setOperatorTable(OperatorTableI operatorTableI)
setEvaluator
public void setEvaluator(Evaluator evaluator)
setParser
public void setParser(Parser parser)
setPrintVisitor
public void setPrintVisitor(PrintVisitor pv)
addAuxComponent
public void addAuxComponent(JepComponent comp)
getAuxComps
public JepComponent[] getAuxComps()
setAuxComps
public void setAuxComps(JepComponent[] auxComps)
Copyright © 2010 Singular Systems http://www.singularsys.com/jep