template<class T> class PSet |
This template class maps the PAbstractSet to a specific object type.
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 PAbstractSet to a specific object type. The functions in this class primarily do all the appropriate casting of types.By default, objects placed into the set will not be deleted when removed or when all references to the set are destroyed. This is different from the default on most collection classes.
Note that if templates are not used the PDECLARE_SET macro will simulate the template instantiation.
Note that by default, objects placed into the set will not be deleted when removed or when all references to the set are destroyed. This is different from the default on most collection classes.
The object values are compared, not the pointers. So the objects in the collection must correctly implement the PObject::Compare() function. The hash table is used to locate the entry.
The object values are compared, not the pointers. So the objects in the collection must correctly implement the PObject::Compare() function. The hash table is used to locate the entry.
The object values are compared, not the pointers. So the objects in the collection must correctly implement the PObject::Compare() function. The hash table is used to locate the entry.
The object values are compared, not the pointers. So the objects in the collection must correctly implement the PObject::Compare() function. The hash table is used to locate the entry.
The ordinal position in the set 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