|
Collection
|
Hash table dictionary with separate chaining for collision resolution. More...
#include <Dictionary.h>
Public Attributes | |
| struct IDictionary | base |
| struct DictionaryNode ** | buckets |
| size_t | capacity |
| size_t | size |
| Mutex | mutex |
Hash table dictionary with separate chaining for collision resolution.
Contains a base IDictionary interface, an array of bucket pointers each pointing to a linked list of DictionaryNodes, as well as capacity and size metadata.
| struct IDictionary Dictionary::base |
🧩 Base interface for dictionary operations
| struct DictionaryNode** Dictionary::buckets |
🗃️ Array of bucket heads (linked lists)
| size_t Dictionary::capacity |
📏 Number of buckets in the hash table
| size_t Dictionary::size |
📊 Number of key-value pairs stored