public interface SharedData
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all entries in the map
|
<T> T |
get(java.lang.String key)
Get a value from the map.
|
<T> T |
get(java.lang.String key,
java.lang.Class<T> type)
Get a value from the map with given type.
|
void |
put(java.lang.String key,
java.lang.Object value)
Put a value in the map.
|
void |
putIfAbsent(java.lang.String key,
java.lang.Object value)
Put the entry only if there is no entry with the key already present.
|
<T> T |
remove(java.lang.String key)
Remove a value from the map.
|
<T> T |
remove(java.lang.String key,
java.lang.Class<T> type)
Remove a value from the map, returning stored value with given type.
|
int |
size()
Provide the number of entries in the map
|
<T> T get(java.lang.String key)
<T> T get(java.lang.String key,
java.lang.Class<T> type)
void put(java.lang.String key,
java.lang.Object value)
void putIfAbsent(java.lang.String key,
java.lang.Object value)
<T> T remove(java.lang.String key)
<T> T remove(java.lang.String key,
java.lang.Class<T> type)
void clear()
int size()