Collection
|
Node representing a key-value pair in a hash table. More...
Public Attributes | |
const char * | key |
const void * | value |
struct DictionaryNode * | next |
Node representing a key-value pair in a hash table.
Each node stores a heap-allocated key string, a generic pointer value, and a pointer to the next node for handling hash collisions via chaining.
const char* DictionaryNode::key |
🔑 Heap-allocated key string
struct DictionaryNode* DictionaryNode::next |
➡️ Pointer to the next node in the collision chain
const void* DictionaryNode::value |
📦 Pointer to the associated value (generic)