[Overview][Classes][Index] |
Relocates the specified list item to the last (or terminal) node for the linked list.
Source position: lazlinkedlist.pas line 50
public procedure TLinkList.MoveToLast( |
AnItem: TLinkListItem |
); |
AnItem |
|
Item moved to the last node in the linked list. |
MoveToLast is a procedure used to move the specified list item to the last (or terminal) node in the doubly linked list. No actions are performed in the method when AnItem is unassigned (contains Nil).
MoveToLast calls Unbind to ensure that AnItem is removed from the node traversal order in the linked list. MoveToLast calls AddAsLast to update the values in the Prior and Next properties in AnItem making it the terminal node in the traversal order.
|
Configures and adds the specified item as the terminal node for 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 |