|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.expression4j.core.impl.ParametersImpl
public class ParametersImpl
Implementation of parameters interface.
Constructor Summary | |
---|---|
ParametersImpl()
Construct an empty parameters. |
Method Summary | |
---|---|
void |
addParameter(java.lang.String name,
MathematicalElement value)
add a parameter |
void |
addParameters(java.util.Map parameters)
add parameters |
void |
addParameters(Parameters parameters)
add parameters |
MathematicalElement |
getParameter(java.lang.String name)
get parameter value. |
java.util.Map |
getParameters()
get the list of parameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParametersImpl()
Method Detail |
---|
public void addParameter(java.lang.String name, MathematicalElement value)
Parameters
addParameter
in interface Parameters
name
- name of the parameter.value
- value of the parameter.public void addParameters(java.util.Map parameters)
Parameters
addParameters
in interface Parameters
parameters
- parameters to add.public void addParameters(Parameters parameters)
Parameters
addParameters
in interface Parameters
parameters
- parameters to add.public MathematicalElement getParameter(java.lang.String name) throws ParametersException
Parameters
getParameter
in interface Parameters
name
- name of the parameter.
ParametersException
- if the parameter is not found.public java.util.Map getParameters()
Parameters
getParameters
in interface Parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |