Skip to content

TFPCustomHashTable.CreateWith

Instantiate a new TFPCustomHashTable instance with given algorithm and size.

Declaration

Source position: contnrs.pp line 395

public 
constructor TFPCustomHashTable.CreateWith(AHashTableSize: LongWord; 
                                         aHashFunc: THashFunction);

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

Name Description
Create Instantiate a new TFPCustomHashTable instance using the default hash mechanism.