Skip to content

TFPHashObjectList.Find

Find data associated with key.

Declaration

Source position: contnrs.pp line 331

public 
function TFPHashObjectList.Find(const s: RawByteString) : TObject;

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

Name Description
TFPHashObjectList.HashOfIndex Return the hash value of an object by index.
TFPHashObjectList.NameOfIndex Returns the key name of an object by index.
TFPHashObjectList.IndexOf Return the index of the object instance.
TFPHashObjectList.FindIndexOf Return index of named object.
TFPHashObjectList.FindWithHash Find first element with given name and hash value.