public class DefaultParameterStore extends Object implements ParameterStore
Parameter store which retains the order, bindings, and names of parameters contained within.| Constructor and Description |
|---|
DefaultParameterStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String name)
Return
true if this ParameterStore contains a Parameter with the given name,
otherwise return false. |
Parameter<?> |
get(String name)
Get the
Parameter with the given name. |
Parameter<?> |
get(String name,
Parameter<?> deflt)
Retrieve the
Parameter with the given name, otherwise use the default, if supplied. |
boolean |
isEmpty()
|
Iterator<Map.Entry<String,Parameter<?>>> |
iterator() |
int |
size()
Return the number of
Parameter instances in this ParameterStore. |
Parameter<?> |
store(Parameter<?> value) |
String |
toString() |
public Parameter<?> get(String name, Parameter<?> deflt)
ParameterStoreParameter with the given name, otherwise use the default, if supplied.get in interface ParameterStorepublic Parameter<?> get(String name)
ParameterStoreParameter with the given name.get in interface ParameterStorepublic boolean isEmpty()
ParameterStoreisEmpty in interface ParameterStorepublic int size()
ParameterStoreParameter instances in this ParameterStore.size in interface ParameterStorepublic boolean contains(String name)
ParameterStoretrue if this ParameterStore contains a Parameter with the given name,
otherwise return false.contains in interface ParameterStoreCopyright © 2014 OCPsoft. All Rights Reserved.