Hello again ! A hash set is pretty much a hash table where the key and value types are the same.
So, checking for the existence of an element in a hash set will do the following : * Check for the existence of the key based on its hash. * Compare the associated value with the element. This explains the results you had with that piece of code.
