| Constructor and Description |
|---|
ParametersMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Parameter param)
Adds a new parameter;
if the parameter name exists, the value of the parameter is updated.
|
void |
addParameters(Collection<Parameter> params)
Adds a collection of parameters.
|
Parameter |
getParameter(String name)
Returns the parameter mapped by name;
returns
null if the name is not mapped. |
Map<String,Parameter> |
getParameters()
Returns a
map<String, Parameter>. |
public Parameter getParameter(String name)
null if the name is not mapped.name - the namepublic void addParameter(Parameter param)
param - the parampublic void addParameters(Collection<Parameter> params)
params - the params