public interface StringMap extends Map<String,Object>
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, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
<T> T get(Class<T> key)
key
- the key<T> void put(Class<T> key, T value)
key
- the keyvalue
- the value<T> T remove(Class<T> key)
key
- the keyCopyright © 2019 JBoss by Red Hat. All rights reserved.