public class BeanDataProvider<K extends java.lang.String,V extends BeanDataCollection>
extends java.util.HashMap<K,V>
| Constructor and Description |
|---|
BeanDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all of the mappings from this provider map.
|
V |
getDataProvider(K key) |
V |
getDataProvider(K key,
K view) |
void |
setDataProvider(K key,
K view,
V provider)
User this method in dcHandler to make sure provider/view are the same
|
void |
setDataProvider(K key,
V provider)
Use this method if users just want to maintain key and value
|
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic V getDataProvider(K key)
key - public V getDataProvider(K key, K view)
key - view - public void setDataProvider(K key, V provider)
key - provider - public void setDataProvider(K key, K view, V provider)
key - view - provider - public void clear()
clear in interface java.util.Map<K extends java.lang.String,V extends BeanDataCollection>clear in class java.util.HashMap<K extends java.lang.String,V extends BeanDataCollection>