[Overview][Constants][Types][Classes][Index] |
Index of key pointed to by AKey
Source position: fgl.pp line 274
public function TFPSMap.IndexOf( |
AKey: Pointer |
):Integer; |
AKey |
|
key to search for |
Index of AKey or -1 if AKey was not found.
IndexOf returns the index of the element with a key pointed to by AKey. It returns -1 if the key was not found.
If the list is sorted, then a binary search is performed, otherwise a linear search is used to find the key.
None.
|
Find data using the associated key |
|
|
Index of data item AData |
|
|
Indexed access to the locations of all keys |
|
|
Indexed access to the locations of all data items |