HashTable.similar


Description:

[ Version ( since = "2.72" ) ]
public HashTable.similar (HashTable<K,V> other_hash_table)

Creates a new GenericSet like GenericSet with a reference count of 1.

It inherits the hash function, the key equal function, the key destroy function, as well as the value destroy function, from other_hash_table.

The returned hash table will be empty; it will not contain the keys or values from other_hash_table.

Parameters:

other_hash_table

Another GenericSet

Returns:

a new GenericSet