Public Types | |
| typedef MyIterator< KeyType, ValueType > | Iterator |
Public Member Functions | |
| Iterator | back (void) |
| Iterator | begin (void) |
| void | clear (void) |
| bool | containsKey (const KeyType &) |
| bool | empty (void) const |
| Iterator | end (void) |
| ValueType | get (const KeyType &) |
| Iterator | getI (const KeyType &) |
| HashMap (int, const float) | |
| HashMap (const float) | |
| HashMap (int) | |
| HashMap () | |
| ValueType | put (KeyType &, const ValueType &) |
| ValueType | remove (const KeyType &) |
| ValueType | remove (const Iterator &) |
| int | size (void) const |
Private Member Functions | |
| void | decreaseSize (const int) |
| unsigned int | hash (const char *, int) |
| void | increaseSize (const int) |
Private Attributes | |
| int | capacity |
| vector< list< Shkv< KeyType, ValueType > > > | data |
| list< Shkv< KeyType, ValueType > >::iterator | dataIter |
| float | highLoadFactor |
| int | load |
| float | lowLoadFactor |
| vector< unsigned int > | map |
| int | mask |
| unsigned int | offset |
| int | power |
| list< Shkv< KeyType, ValueType > >::iterator | tempdataIter |
| unsigned int | tempHash |
| Iterator | tempIterator |
| Shkv< KeyType, ValueType > | tempShkv |
|
|||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.9.1