[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'contnrs' (#fcl) |
Find first element with given name and hash value
Source position: contnrs.pp line 244
public function TFPHashList.FindWithHash( |
const AName: shortstring; |
AHash: LongWord |
):Pointer; |
AName |
|
Key value to search for. |
AHash |
|
Hash value of the key AName |
Data pointer associated with key AName
FindWithHash searches for the item with key AName. It uses the provided hash value AHash to perform the search. If the item exists, the data pointer is returned, if not, the result is Nil.
|
Return the hash valye of an item by index |
|
|
Returns the key name of an item by index |
|
|
Return the index of the data pointer |
|
|
Find data associated with key |
|
|
Return index of named item. |
No notes exist for this page yet.