|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractMap
|
+--org.chwf.config.ConfigMap
Adapter map for Config objects. Useful if configuration needs to be available
in environments that use maps.
Only the get() method is supported. All others, including the
iterator() method, will throw an UnsupportedOperationException.
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Constructor Summary | |
ConfigMap(Config config)
Constructor. |
|
| Method Summary | |
java.util.Set |
entrySet()
Unsupported. |
java.lang.Object |
get(java.lang.Object key)
Delegates to Config.get(). |
| Methods inherited from class java.util.AbstractMap |
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConfigMap(Config config)
config - The config.| Method Detail |
public java.util.Set entrySet()
entrySet in class java.util.AbstractMappublic java.lang.Object get(java.lang.Object key)
get in class java.util.AbstractMapkey - The key. Must be a string.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||