public class ConfigurationImpl extends HashMap<String,Object> implements IConfiguration
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConfigurationImpl() |
| Modifier and Type | Method and Description |
|---|---|
IConfiguration |
add(String feature,
Object value)
Add a feature to the configuration.
|
Object |
get(String feature,
Object defaultValue)
Get a value from map, if not found, result is 'defaultValue'.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic IConfiguration add(String feature, Object value)
IConfigurationadd in interface IConfigurationfeature - The feature name.value - The feature value.public Object get(String feature, Object defaultValue)
IConfigurationget in interface IConfigurationfeature - A name.defaultValue - The default value.Copyright © 2016. All rights reserved.