D
- the data type for which index is being createdK
- the type of key stored in the indexed mapV
- the type of value stored in the indexed mappublic static class AbstractIndexManager.DataIndexMap<D extends Data,K,V> extends AbstractIndexManager.DataIndex<D,java.util.Map<K,V>>
dataMap, dbDataMap
Constructor and Description |
---|
DataIndexMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear(D data)
Removes all of the mappings from the Map associated to the specified Data.
|
java.util.Map<K,V> |
get(D data)
Retrieve the Map associated to the specified data.
|
V |
put(D data,
K key,
V value)
Add the specified key/value pair to the Map corresponding to the specified data.
|
V |
remove(D data,
K key)
Removes the mapping for a key from the Map corresponding to the specified data.
|
getOriginalData, putIndexCollection, removeIndexCollection
public java.util.Map<K,V> get(D data)
data
- the data for which the IndexMap is being retrievedpublic V put(D data, K key, V value)
data
- the data for which the IndexMap is being modifiedkey
- key with which the specified value is to be associated. Important : if a DBData is specified it will be ignored and won't be addedvalue
- value to be associated with the specified key. Important : if a DBData is specified it will be ignored and won't be addedpublic V remove(D data, K key)
data
- the data for which the IndexMap is being modifiedkey
- key with which the specified value is to be removedpublic void clear(D data)
data
- the data for which the IndexMap is being modifiedCopyright © 2001-2017 Jalios SA. All Rights Reserved.