public class ConfigurationMap extends AbstractMap<Object,Object>
The ConfigurationMap wraps a
 configuration-collection
 Configuration
 instance to provide a Map interface.
Note: This implementation is incomplete.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
ConfigurationMap(Configuration configuration)
Creates a new instance of a  
ConfigurationMap
 that wraps the specified Configuration
 instance. | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Map.Entry<Object,Object>> | 
entrySet()
Returns a set with the entries contained in this configuration-based map. 
 | 
Object | 
get(Object key)
Returns the value of the specified key. 
 | 
Configuration | 
getConfiguration()
Returns the wrapped  
Configuration object. | 
Object | 
put(Object key,
   Object value)
Stores the value for the specified key. 
 | 
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ConfigurationMap(Configuration configuration)
ConfigurationMap
 that wraps the specified Configuration
 instance.configuration - Configuration
 instance.public Configuration getConfiguration()
Configuration object.public Set<Map.Entry<Object,Object>> entrySet()
entrySet in interface Map<Object,Object>entrySet in class AbstractMap<Object,Object>Map.entrySet()public Object put(Object key, Object value)
put in interface Map<Object,Object>put in class AbstractMap<Object,Object>key - the key (will be converted to a string)value - the valueMap.put(java.lang.Object, java.lang.Object)public Object get(Object key)
get in interface Map<Object,Object>get in class AbstractMap<Object,Object>key - the keyMap.get(java.lang.Object)Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.