[Overview][Classes][Index] |
Gets a new linked list item by reusing a free item or creating a new one.
Source position: lazlinkedlist.pas line 43
protected function TLinkList.GetNewItem: TLinkListItem; |
Linked list item reused or created in the method.
GetNewItem is a TLinkListItem function used to get a new item for the doubly linked list. GetNewItem checks for an unused item in the linked list, and creates a new TLinkListItem instance when a free item is not found. A reused item is updated to remove the Prior and Next traversal nodes in the linked list item. A new item is retrieved by calling the CreateItem method.
|
Specifies the interface used to create a new linked list item for the class. |
|
|
Contains a reference to the previous item in the doubly linked list. |
|
|
Contains a reference to the next item in the doubly linked list. |
Version 4.0 | Generated 2025-05-03 | Home |