public class StringMapImpl extends HashMap<String,Object> implements StringMap
Class.getName()
.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StringMapImpl() |
StringMapImpl(Map<String,Object> i) |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> key)
Convenience method for storing/retrieving typed objects from the map.
|
<T> void |
put(Class<T> key,
T value)
Convenience method for storing/retrieving typed objects from the map.
|
<T> T |
remove(Class<T> key)
Convenience method for removing typed objects from the map.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public <T> T get(Class<T> key)
StringMap
public <T> void put(Class<T> key, T value)
StringMap
Copyright © 2019 JBoss by Red Hat. All rights reserved.