#include <skSHashTable.h>
Inheritance diagram for skTSHashTable< TValue >:

Public Member Functions | |
| skTSHashTable (USize size) | |
| constructs the table with the given size | |
| skTSHashTable () | |
| default constructor which constructs a table with 3 entries | |
| ~skTSHashTable () | |
| destructor - destroys the keys and values in the table | |
| void | insertKeyAndValue (const skString &key, TValue *value) |
| this method adds the given key and value to the table. | |
| TValue * | value (const skString &key) |
| returns the value associated with the given key (or 0) | |
Protected Member Functions | |
| void | deleteValue (void *value) |
| deletes the given value (casting it appropriately) | |
|
||||||||||||||||
|
this method adds the given key and value to the table. If the key is already in the table, the existing version is first deleted
|
1.3