#include <HashTable.hpp>
Public Types | |
typedef HashBucket< _Key, _Value > | bucket_type |
typedef _Key | key_type |
typedef _Value | value_type |
typedef _HashFunction | hash_type |
typedef _Comparator | compare_type |
typedef HashTableIterator< _Key, _Value, _Comparator > | iterator |
Public Methods | |
HashTable (size_t size=16384) | |
~HashTable () | |
_Value * | find (const _Key &k) const |
_Value * | insert (const _Key &k) |
_Value * | insert (const _Key &k, const _Value &v) |
void | remove (const _Key &k) |
void | clear () |
const iterator & | end () |
iterator | begin () |
size_t | size () |
Friends | |
class | HashTableIterator< _Key, _Value, _Comparator > |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|