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)
ParameterStore
Parameter
with the given name, otherwise use the default, if supplied.get
in interface ParameterStore
public Parameter<?> get(String name)
ParameterStore
Parameter
with the given name.get
in interface ParameterStore
public boolean isEmpty()
ParameterStore
isEmpty
in interface ParameterStore
public int size()
ParameterStore
Parameter
instances in this ParameterStore
.size
in interface ParameterStore
public boolean contains(String name)
ParameterStore
true
if this ParameterStore
contains a Parameter
with the given name,
otherwise return false
.contains
in interface ParameterStore
Copyright © 2014 OCPsoft. All Rights Reserved.