Package lumis.util.parameter
Class Parameters
- java.lang.Object
-
- lumis.util.parameter.Parameters
-
- All Implemented Interfaces:
IParameters
public class Parameters extends Object implements IParameters
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>
parameters
-
Constructor Summary
Constructors Constructor Description Parameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsParameter(String name)
Returns whether a parameter is set in this parameters.Object
getParameter(String name)
void
setParameter(String name, Object value)
-
-
-
Method Detail
-
getParameter
public Object getParameter(String name)
- Specified by:
getParameter
in interfaceIParameters
-
containsParameter
public boolean containsParameter(String name)
Description copied from interface:IParameters
Returns whether a parameter is set in this parameters.This is useful to differ a
null
value parameter from a non-existing parameter.- Specified by:
containsParameter
in interfaceIParameters
- Parameters:
name
- the parameter name.- Returns:
true
if the parameter is set,false
otherwise.
-
-