public abstract class AbstractIndexManager
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AbstractIndexManager.DataIndex<D extends Data,C>
Collection to store previoulsy computed information associated to Data and DBData 
 | 
static class  | 
AbstractIndexManager.DataIndexMap<D extends Data,K,V>
Pseudo map to store previoulsy computed information associated to Data and DBData 
 | 
static class  | 
AbstractIndexManager.DataIndexSet<D extends Data,E>
Pseudo Set to store previoulsy computed information associated to Data and DBData 
 | 
| Constructor and Description | 
|---|
AbstractIndexManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected <K extends Data,T> | 
addIndexWithSet(java.util.Map<K,java.util.Set<T>> index,
               K key,
               java.util.Collection<T> values)
Associates each item of the given collection of value to the given key in the given index. 
 | 
protected <K extends Data,T> | 
addIndexWithSet(java.util.Map<K,java.util.Set<T>> index,
               K key,
               T value)
Associates the given value to the given key in the given index. 
 | 
protected <K extends Data,V> | 
clearIndex(java.util.Map<K,V> index,
          K key)
Remove the map at the given key in the given index. 
 | 
protected <K extends Data,X,Y> | 
getIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index,
               K key)
Returns the map associated to the given key in the given index. 
 | 
protected <K extends Data,X,Y> | 
getIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index,
               K key,
               X name)
Returns the value associated to the given name for the given key in the given index. 
 | 
protected <K extends Data,T> | 
getIndexWithSet(java.util.Map<K,java.util.Set<T>> index,
               K key)
Returns the set associated to the given key in the given index. 
 | 
protected <K extends Data,T> | 
isUndefinedIndexWithSet(java.util.Map<K,java.util.Set<T>> index,
                       K key)
Returns true is key is null or if no index (even empty) is stored in the given index. 
 | 
protected <K extends Data,X,Y> | 
putIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index,
               K key,
               X name,
               Y value)
Associates the given value to the given name at the given key in the given index. 
 | 
protected <K extends Data,X,Y> | 
removeIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index,
                  K key,
                  X name)
Remove the given name at the given key in the given index. 
 | 
protected <K extends Data,T> | 
removeIndexWithSet(java.util.Map<K,java.util.Set<T>> index,
                  K key,
                  java.util.Collection<T> values)
Removes the given values for the given key in the given index. 
 | 
protected <K extends Data,T> | 
removeIndexWithSet(java.util.Map<K,java.util.Set<T>> index,
                  K key,
                  T value)
Removes the given value for the given key in the given index. 
 | 
protected <K extends Data,T> | 
setIndexWithSet(java.util.Map<K,java.util.Set<T>> index,
               K key,
               java.util.Set<T> set)
Associates the given set to the given key in the given index. 
 | 
protected Channel channel
protected <K extends Data,T> java.util.Set<T> getIndexWithSet(java.util.Map<K,java.util.Set<T>> index, K key)
index - the indexkey - the keyprotected <K extends Data,T> boolean isUndefinedIndexWithSet(java.util.Map<K,java.util.Set<T>> index, K key)
index - the indexkey - the keyprotected <K extends Data,T> void setIndexWithSet(java.util.Map<K,java.util.Set<T>> index, K key, java.util.Set<T> set)
index - the indexkey - the keyset - the setprotected <K extends Data,T> boolean addIndexWithSet(java.util.Map<K,java.util.Set<T>> index, K key, T value)
index - the indexkey - the keyvalue - the valueprotected <K extends Data,T> boolean addIndexWithSet(java.util.Map<K,java.util.Set<T>> index, K key, java.util.Collection<T> values)
index - the indexkey - the keyvalues - the valuesprotected <K extends Data,T> boolean removeIndexWithSet(java.util.Map<K,java.util.Set<T>> index, K key, T value)
index - the indexkey - the keyvalue - the valueprotected <K extends Data,T> boolean removeIndexWithSet(java.util.Map<K,java.util.Set<T>> index, K key, java.util.Collection<T> values)
index - the indexkey - the keyvalues - the values to removeprotected <K extends Data,X,Y> java.util.Map<X,Y> getIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index, K key)
index - the indexkey - the keyprotected <K extends Data,X,Y> Y getIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index, K key, X name)
index - the indexkey - the keyname - the nameprotected <K extends Data,X,Y> void putIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index, K key, X name, Y value)
index - the indexkey - the keyname - the namevalue - the valueprotected <K extends Data,X,Y> Y removeIndexWithMap(java.util.Map<K,java.util.Map<X,Y>> index, K key, X name)
index - the indexkey - the keyname - the nameprotected <K extends Data,V> void clearIndex(java.util.Map<K,V> index, K key)
index - the indexkey - the keyCopyright © 2001-2018 Jalios SA. All Rights Reserved.