[Overview][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

TFPHashTable.CreateWith

Instantiate a new TFPHashTable instance with given algorithm and size

Declaration

Source position: contnrs.pp line 230

public constructor TFPHashTable.CreateWith(

  AHashTableSize: LongWord;

  aHashFunc: THashFunction

);

Arguments

AHashTableSize

  

Size of the hash table.

aHashFunc

  

Hash calculating function.

Description

CreateWith creates a new instance of TFPHashTable with hash size AHashTableSize and hash calculating algorithm aHashFunc.

Errors

If no memory is available, an exception may be raised.

See also

Create

  

Instantiate a new TFPHashTable instance using the default hash mechanism