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()
|
int |
size()
Return the number of
Parameter instances in this ParameterStore . |
Parameter<?> get(String name) throws IllegalArgumentException
Parameter
with the given name.IllegalArgumentException
- if the Parameter
with the given name does not exist.Parameter<?> get(String name, Parameter<?> deflt)
Parameter
with the given name, otherwise use the default, if supplied.IllegalArgumentException
- if the Parameter
with the given name does not exist and no default was
supplied.boolean isEmpty()
int size()
Parameter
instances in this ParameterStore
.boolean contains(String name)
true
if this ParameterStore
contains a Parameter
with the given name,
otherwise return false
.Copyright © 2014 OCPsoft. All Rights Reserved.