Sign in Join
FPDoc Onlineexperiment

TFPHashObjectList.Find function

Member of TFPHashObjectListpublicIn unit Contnrs

Find data associated with key.

Declaration

pascal
function Find(const s: RawByteString): TObject

Arguments

s

Key name to search for.

Function result

Object associated with AName or Nil if it does not exist.

Description

Find searches (using the hash) for the data object associated with key AName and returns the data object instance associated with it. If the object is not found, Nil is returned. It uses the hash value of the key to perform the search.

See also

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