public class DmwNamedObjectIndexer extends Object
| Constructor and Description |
|---|
DmwNamedObjectIndexer()
Constructs a new indexer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToIndices(DmwNamedObjectWrapper obj)
This method will add the specified object to the appropriate indices based
on its DmcClassInfo.
|
void |
deleteFromIndices(DmwNamedObjectWrapper obj)
This method will remove the specified object from all indices to which it
had been previously added.
|
Collection<DmwNamedObjectWrapper> |
getIndex(DmcClassInfo ci) |
int |
getIndexSize(DmcClassInfo ci) |
boolean |
hasIndex(DmcClassInfo dci) |
void |
maintainIndex(DmcClassInfo ci)
Indicates that an index should be maintained for the specified class of object.
|
public boolean hasIndex(DmcClassInfo dci)
dci - The class for which you're checking.public int getIndexSize(DmcClassInfo ci)
ci - The class for which you want the index size.public Collection<DmwNamedObjectWrapper> getIndex(DmcClassInfo ci)
ci - The class for which you want the index.public void maintainIndex(DmcClassInfo ci)
ci - The class information.public void addToIndices(DmwNamedObjectWrapper obj)
obj - The object to be added.public void deleteFromIndices(DmwNamedObjectWrapper obj)
obj - Copyright © 2023. All rights reserved.