28 friend class MessageDictTester;
40 int size() {
return mSize; }
56 void removeFollowing(
KMDictItem *item,
long key);
int size()
Returns the size of the hash table.
KMDictItem * find(long key)
Find an item by key.
void remove(long key)
Removes an item.
KMDict implements a lightweight dictionary with serial numbers as keys.
void clear()
Clears the hash table, removing all items.
void insert(long key, KMDictItem *item)
Inserts an item without replacing ones with the same key.
KMDict(int size=17)
Creates a hash table with size columns.
Class representing items in a KMDict.
~KMDict()
Destroys the hash table object.
void replace(long key, KMDictItem *item)
Inserts an item, replacing old ones with the same key.