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

TFPHashTable.CreateWith

Instantiate a new TFPHashTableinstance 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

CreateWithcreates a new instance of TFPHashTablewith hash size AHashTableSizeand hash calculating algorithm aHashFunc.

Errors

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

See also

Create

  

Instantiate a new TFPHashTableinstance using the default hash mechanism