Sign in Join
FPDoc Onlineexperiment

TFPHashObjectList.FindWithHash function

Member of TFPHashObjectListpublicIn unit Contnrs

Find first element with given name and hash value.

Declaration

pascal
function FindWithHash(const AName: RawByteString; AHash: LongWord)
: Pointer

Arguments

AName

Key value to search for.

AHash

Hash value of the key AName.

Function result

Object instance associated with key AName.

Description

FindWithHash searches for the object with key AName. It uses the provided hash value AHash to perform the search. If the object exists, the data object instance is returned, if not, the result is Nil.

See also

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