#include <collection.h>
Data Fields | |
GHashTable * | hTable |
The backing GHashTable. | |
ElementType | setType |
Element type of key. |
The property setType
not only tells what this HashSet stores, but also determine the default handler functions such as element hash and equal functions.
Note that due to the nature or hash table, the element order is deemed to be unstable. Also, since GHashTable does not copy key and value, neither does HashSet. The referred storages should remain present until HashSet is freed.