Skip to content

TFPCustomHashTable.HashFunction

Hash function currently in use.

Declaration

Source position: contnrs.pp line 402

public property HashFunction: THashFunction;

Description

HashFunction is the hash function currently in use to calculate hash values from keys. The property can be set, this simply calls SetHashFunction. Note that setting the hash function does NOT cause the hash value of all keys to be recomputed, so changing the value while there are still keys in the table is not a good idea.

See also

Name Description
HashTableSize Size of the hash table.