public class ParameterStructure extends Object implements Serializable
Map
that associates parameter names with
Parameter
s.Modifier and Type | Field and Description |
---|---|
protected static long |
serialVersionUID
For interoperability with possible future changes.
|
Constructor and Description |
---|
ParameterStructure()
Creates an empty ParameterStructure object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<T> Parameter<T> |
get(String parameterName)
Obtains the parameter to which this structure maps the specified
parameter name.
|
Map<String,Parameter<?>> |
getAsMap()
Obtains a map that associates parameter names with
Parameter . |
int |
hashCode() |
boolean |
isEmpty()
Obtains true if this map contains no key-value mappings.
|
<T> void |
put(Parameter<T> parameter)
Adds this parameter to the structure.
|
void |
remove(String parameterName) |
String |
toString() |
protected static final long serialVersionUID
public ParameterStructure()
public <T> void put(Parameter<T> parameter)
T
- parameter
- the parameter to be added to the structure.public <T> Parameter<T> get(String parameterName) throws ParameterNotFoundException
T
- parameterName
- name whose associated parameter is to be returned.ParameterNotFoundException
- if the structure contains no mapping
for this parameter name.public void remove(String parameterName)
public boolean isEmpty()
public Map<String,Parameter<?>> getAsMap()
Parameter
.Copyright © 2021 Denodo Technologies. All rights reserved.