TFPHashList.Extract¶
Extract a pointer from the list.
Declaration¶
Source position: contnrs.pp line 262
public
function TFPHashList.Extract(item: Pointer) : Pointer;
Description¶
Extract removes the data item from the list, if it is in the list. It returns the pointer if it was removed from the list, Nil otherwise.
Extract does a linear search, and is not very efficient.
See also¶
| Name | Description |
|---|---|
| TFPHashList.Delete | Delete an item from the list. |
| TFPHashList.Remove | Remove first instance of a pointer. |
| TFPHashList.Clear | Clear the list. |