[Overview][Classes][Index] |
Configures and adds the specified item as the terminal node for the doubly linked list.
Source position: lazlinkedlist.pas line 44
protected procedure TLinkList.AddAsLast( |
AnItem: TLinkListItem |
); |
AnItem |
|
Item saved as the last item in the linked list. |
AddAsLast is a procedure used to make the specified list item the terminal node in the doubly linked list. AddAsLast updates the list item in AnItem by setting its Prior property to the node in Last. The value in its Next property is set to Nil. The updated list item is then assigned as the new value for the Last property. The value in First may be set to the value in AnItem when a prior node in the traversal order is not available.
AddAdLast increments the value in the Count property.
|
Total number of items used in the doubly linked list. |
|
|
Last item in the doubly linked list. |
|
|
First item in the doubly linked list. |
|
|
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 |