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. 
 | 
boolean | 
containsKey(D data)
Returns true if this index contains a mapping for the specified data. 
 | 
java.util.Map<K,V> | 
get(D data)
Retrieve the Map associated to the specified data. 
 | 
V | 
get(D data,
   K key)
Retrieve the value associated to the specified data and key. 
 | 
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, removeIndexCollectionpublic java.util.Map<K,V> get(D data)
data - the data for which the IndexMap is being retrievedpublic V get(D data, K key)
data - the data for which the IndexMap is being retrievedkey - the key of the mappublic 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 boolean containsKey(D data)
data - the datapublic 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-2018 Jalios SA. All Rights Reserved.