[Overview][Classes][Index] |
Specifies the interface used to create a new linked list item for the class.
Source position: lazlinkedlist.pas line 42
protected function TLinkList.CreateItem: TLinkListItem; virtual; abstract; |
New link list item allocated in the method.
CreateItem is an abstract virtual method which specifies the interface used to create a new linked list item for the class. The return value is the TLinkListItem class instance allocated in the method. CreateItem must be be implemented in a descendent class to handle storage and ownership for the items created in the linked list.
CreateItem is used in the implementation of the GetNewItem method.
|
Gets a new linked list item by reusing a free item or creating a new one. |
Version 4.0 | Generated 2025-05-03 | Home |