Sign in Join
FPDoc Onlineexperiment

TFPCustomHashTable.CreateWith constructor

Member of TFPCustomHashTablepublicIn unit Contnrs

Instantiate a new TFPCustomHashTable instance with given algorithm and size.

Declaration

pascal
constructor CreateWith(AHashTableSize: LongWord; 
 aHashFunc: THashFunction)

Arguments

AHashTableSize

Size of the hash table.

aHashFunc

Hash calculating function.

Description

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

Errors

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.