@PortedFrom(file="tNameSet.h", name="TNameSet") public class NameSet<T> extends HashMap<String,T>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NameSet(NameCreator<T> p) |
| Modifier and Type | Method and Description |
|---|---|
T |
add(String id)
unconditionally add new element with name ID to the set; return new
element
|
T |
insert(String id)
Insert id to a nameset (if necessary); @return pointer to id structure
created by external creator
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic NameSet(NameCreator<T> p)
@PortedFrom(file="tNameSet.h", name="add") public T add(String id)
@PortedFrom(file="tNameSet.h", name="insert") public T insert(String id)
Copyright © 2013 The University of Manchester. All Rights Reserved.