public class Parameterizable extends Object implements IParameterizable
parameters
.Constructor and Description |
---|
Parameterizable()
Simple constructor.
|
Parameterizable(ArrayList<Parameter> paramList)
Simple constructor to add in the internal list the parameters contained in the given list.
|
Parameterizable(IParamDiffFunction... paramDiffFunctions)
Simple constructor to add in the internal list the parameters contained in the given function
list.
|
Parameterizable(Parameter... params)
Simple constructor to add in the internal list the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addAllParameters(Collection<Parameter> params)
Add the given parameters in the internal list.
|
protected void |
addAllParameters(Parameter... params)
Add the given parameters in the internal list.
|
protected void |
addParameter(Parameter param)
Add the given parameter in the internal list.
|
ArrayList<Parameter> |
getParameters()
Get the supported parameters.
|
boolean |
supportsParameter(Parameter param)
Check if a parameter is supported.
|
public Parameterizable()
public Parameterizable(Parameter... params)
Note: Only one instance of each parameter is allowed in the list.
params
- the parameters to add in the internal listpublic Parameterizable(ArrayList<Parameter> paramList)
Note: Only one instance of each parameter is allowed in the list.
paramList
- the list of parameters to add in the internal listpublic Parameterizable(IParamDiffFunction... paramDiffFunctions)
Note: Only one instance of each parameter is allowed in the list.
paramDiffFunctions
- the list of functions containing the parameters to add in the internal listpublic boolean supportsParameter(Parameter param)
supportsParameter
in interface IParameterizable
param
- parameter to checkpublic ArrayList<Parameter> getParameters()
getParameters
in interface IParameterizable
protected void addParameter(Parameter param)
Note: Only one instance of the parameter is allowed in the list.
param
- parameter to addprotected final void addAllParameters(Parameter... params)
Note: Only one instance of each parameter is allowed in the list.
params
- parameters to addprotected final void addAllParameters(Collection<Parameter> params)
Note: Only one instance of each parameter is allowed in the list.
params
- parameters to addCopyright © 2023 CNES. All rights reserved.