Package lumis.util.parameter
Class Parameters
- java.lang.Object
-
- lumis.util.parameter.Parameters
-
- All Implemented Interfaces:
IParameters
public class Parameters extends java.lang.Object implements IParameters
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.Object>
parameters
-
Constructor Summary
Constructors Constructor Description Parameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsParameter(java.lang.String name)
Returns whether a parameter is set in this parameters.java.lang.Object
getParameter(java.lang.String name)
void
setParameter(java.lang.String name, java.lang.Object value)
-
-
-
Method Detail
-
setParameter
public void setParameter(java.lang.String name, java.lang.Object value)
-
getParameter
public java.lang.Object getParameter(java.lang.String name)
- Specified by:
getParameter
in interfaceIParameters
-
containsParameter
public boolean containsParameter(java.lang.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.
-
-