[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Return index of named item.
Source position: contnrs.pp line 252
public function TFPHashList.FindIndexOf( |
const AName: shortstring |
):Integer; |
AName |
|
Key value to look for |
Index of the key
FindIndexOf returns the index of the key AName, or -1 if the key does not exist in the list. It uses the hash value to search for the key. Note that Nil data pointers will result in -1 as well.
|
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 |
|
|
Find first element with given name and hash value |