template<class K, class D> class PDictionary |
This template class maps the PAbstractDictionary to a specific key and data types.
Overrides from class PCollection
Overrides from class PContainer
Common functions for collections
Common functions for containers
Run Time Type functions
I/O functions
Comparison functions
This template class maps the PAbstractDictionary to a specific key and data types. The functions in this class primarily do all the appropriate casting of types.Note that if templates are not used the PDECLARE_DICTIONARY macro will simulate the template instantiation.
Note that by default, objects placed into the dictionary will be deleted when removed or when all references to the dictionary are destroyed.
The last key/data pair is remembered by the class so that subseqent access is very fast.
The object is placed in the an ordinal position dependent on the keys hash function. Subsequent searches use the has function to speed access to the data item.
The ordinal position in the dictionary is determined by the hash values of the keys and the order of insertion.
The last key/data pair is remembered by the class so that subseqent access is very fast.
The ordinal position in the dictionary is determined by the hash values of the keys and the order of insertion.
The last key/data pair is remembered by the class so that subseqent access is very fast.
Alphabetic index HTML hierarchy of classes or Java