Inheritance diagram for HashtableCore< T >:

Has no suppositions about templated object structure.
Public Methods | |
| HashtableCore () | |
| Default constructor. | |
| HashtableCore (int capacity, double loadFactor=DEFAULT_LOAD_FACTOR) | |
| Constructor with explicit hashtable size declaration. | |
| virtual | ~HashtableCore () |
| Default Destructor. | |
| bool | put (const String *key, T value) |
| Puts object into hashtable. | |
| bool | remove (const String *key) |
| Removes object from hashtable. | |
| const String * | key (int index) const |
| Enumerates hashtable keys. | |
| void | clear () |
| Clears hashtable. | |
| int | size () const |
| Number of objects, currently stored in hashtable. | |
Protected Methods | |
| void | rehash () |
| HashtableCore & | operator= (HashtableCore &) |
Protected Attributes | |
| int | csize |
| int | capacity |
| double | loadFactor |
| HashEntry< T > ** | bucket |
|
||||||||||||||||
|
Constructor with explicit hashtable size declaration.
|
|
||||||||||||||||
|
Puts object into hashtable. If such a key already exists, object is replaced. |
|
||||||||||
|
Removes object from hashtable.
If there is no record, associated with |
|
||||||||||
|
Enumerates hashtable keys.
|
|
|||||||||
|
Clears hashtable. Deletes all objects, stored in it. |