|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.Object>
org.apache.cxf.message.StringMapImpl
public class StringMapImpl
A variation on HashMap which allows lookup by Class, via the string
returned by Class.getName().
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
StringMapImpl()
|
|
| Method Summary | ||
|---|---|---|
|
get(java.lang.Class<T> key)
Convenience method for storing/retrieving typed objects from the map. |
|
|
put(java.lang.Class<T> key,
T value)
Convenience method for storing/retrieving typed objects from the map. |
|
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Constructor Detail |
|---|
public StringMapImpl()
| Method Detail |
|---|
public <T> T get(java.lang.Class<T> key)
StringMap
get in interface StringMapkey - the key
public <T> void put(java.lang.Class<T> key,
T value)
StringMap
put in interface StringMapkey - the keyvalue - the value
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||