Add a new item to the list.
Source position: cachecls.pp line 88
public function TCache.AddNew( |
AData: Pointer |
):Integer; |
AData |
|
Data pointer to add to the list. |
Position at which item is added to the list.
AddNew adds a new item to the list: in difference with the Add call, no checking is performed to see whether the item is already in the list.
The function returns the index at which the item was added.
If the maximum number of slots is reached, and a new item is being added, the least used item is dropped from the list.
|
Add a data element to the list. |
|
|
Find data pointer in the list. |
|
|
Return index of a data pointer in the list. |
|
|
Indexed access to data items. |
|
|
Most recent item slot. |