public class ComponentSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected JepComponent[] |
auxComps |
protected Evaluator |
evaluator |
protected FunctionTable |
funTab |
protected NodeFactory |
nodeFac |
protected NumberFactory |
numFac |
protected OperatorTableI |
opTab |
protected Parser |
parser |
protected PrintVisitor |
pv |
protected VariableFactory |
varFac |
protected VariableTable |
varTab |
Constructor and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
void |
addAuxComponent(JepComponent comp) |
void |
addComponents(JepComponent[] components) |
JepComponent[] |
getAuxComponents() |
JepComponent[] |
getAuxComps() |
JepComponent[] |
getBaseComponents() |
JepComponent[] |
getComponents() |
Evaluator |
getEvaluator() |
FunctionTable |
getFunctionTable() |
NodeFactory |
getNodeFactory() |
NumberFactory |
getNumberFactory() |
OperatorTableI |
getOperatorTable() |
Parser |
getParser() |
PrintVisitor |
getPrintVisitor() |
VariableFactory |
getVariableFactory() |
VariableTable |
getVariableTable() |
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 |
setParser(Parser parser) |
void |
setPrintVisitor(PrintVisitor pv) |
void |
setVariableFactory(VariableFactory varFac) |
void |
setVariableTable(VariableTable varTab) |
protected NumberFactory numFac
protected VariableFactory varFac
protected NodeFactory nodeFac
protected VariableTable varTab
protected FunctionTable funTab
protected OperatorTableI opTab
protected Parser parser
protected Evaluator evaluator
protected PrintVisitor pv
protected JepComponent[] auxComps
public ComponentSet()
null
.public ComponentSet(Jep j)
j
- jep instancepublic ComponentSet(JepComponent[] components)
null
.components
- public void addComponents(JepComponent[] components)
public JepComponent[] getComponents()
public JepComponent[] getBaseComponents()
public JepComponent[] getAuxComponents()
public NumberFactory getNumberFactory()
public NodeFactory getNodeFactory()
public VariableFactory getVariableFactory()
public VariableTable getVariableTable()
public FunctionTable getFunctionTable()
public OperatorTableI getOperatorTable()
public Parser getParser()
public Evaluator getEvaluator()
public PrintVisitor getPrintVisitor()
public void setNodeFactory(NodeFactory nodeFac)
public void setNumberFactory(NumberFactory numFac)
public void setVariableFactory(VariableFactory varFac)
public void setFunctionTable(FunctionTable funTab)
public void setVariableTable(VariableTable varTab)
public void setOperatorTable(OperatorTableI operatorTableI)
public void setEvaluator(Evaluator evaluator)
public void setParser(Parser parser)
public void setPrintVisitor(PrintVisitor pv)
public void addAuxComponent(JepComponent comp)
public JepComponent[] getAuxComps()
public void setAuxComps(JepComponent[] auxComps)
Copyright © 2018 Singular Systems http://www.singularsys.com/jep