Package com.jalios.jcms
Class AbstractIndexManager.DataIndex<D extends Data,C>
- java.lang.Object
-
- com.jalios.jcms.AbstractIndexManager.DataIndex<D,C>
-
- Type Parameters:
D- the data type for which index is being createdC- the type of collection stored
- Direct Known Subclasses:
AbstractIndexManager.DataIndexMap,AbstractIndexManager.DataIndexSet
- Enclosing class:
- AbstractIndexManager
public static class AbstractIndexManager.DataIndex<D extends Data,C> extends java.lang.ObjectCollection to store previoulsy computed information associated to Data and DBData- Since:
- 9.0.3 - JCMS-5258
-
-
Constructor Summary
Constructors Constructor Description DataIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()protected DgetOriginalData(D data)protected CputIndexCollection(D data, C collection)Put the collection to use for the specified dataprotected CremoveIndexCollection(D data)Removes the mapping for a key from this map if it is present (optional operation).
-
-
-
Method Detail
-
putIndexCollection
protected C putIndexCollection(D data, C collection)
Put the collection to use for the specified data- Parameters:
data- the data for which the Index is being modifiedcollection- the collection to associate to the data (must not be null)- Returns:
- the previous collection associated with
data, ornullif there was no mapping fordata.
-
removeIndexCollection
protected C removeIndexCollection(D data)
Removes the mapping for a key from this map if it is present (optional operation).- Parameters:
data- the data for which the Index is being removed- Returns:
- the previous value associated with
key, ornullif there was no mapping forkey
-
clear
public void clear()
-
-