public class NameIndex extends BasicIndex implements NameIndexIF
BasicIndex.EventHandler<K,V>, BasicIndex.TypedPredicate| Modifier and Type | Field and Description |
|---|---|
protected CollectionMap<String,TopicNameIF> |
basenames |
protected CollectionMap<String,VariantNameIF> |
variants |
handlers| Modifier and Type | Method and Description |
|---|---|
Collection<TopicNameIF> |
getTopicNames(String value)
PUBLIC: Gets all topic names that have the given name value (in any scope).
|
Collection<TopicNameIF> |
getTopicNames(String value,
TopicIF topicNameType)
PUBLIC: Gets all topic names that have the given name value (in any scope)
and topicNameType.
|
Collection<VariantNameIF> |
getVariants(String value)
INTERNAL: Gets all variants that have the specified value
independent of datatype.
|
Collection<VariantNameIF> |
getVariants(String value,
LocatorIF datatype)
INTERNAL: Gets all variants that have the specified value and
datatype.
|
getIndex, processEventprotected CollectionMap<String,TopicNameIF> basenames
protected CollectionMap<String,VariantNameIF> variants
public Collection<TopicNameIF> getTopicNames(String value)
NameIndexIFgetTopicNames in interface NameIndexIFvalue - A string; the value of a topic name.public Collection<TopicNameIF> getTopicNames(String value, TopicIF topicNameType)
NameIndexIFgetTopicNames in interface NameIndexIFvalue - A string; the value of a topic nametopicNameType - A TopicIF; the type of a topic namepublic Collection<VariantNameIF> getVariants(String value)
NameIndexIFgetVariants in interface NameIndexIFpublic Collection<VariantNameIF> getVariants(String value, LocatorIF datatype)
NameIndexIFgetVariants in interface NameIndexIF