[Overview][Classes][Index] Reference for unit 'LazLinkedList' (#lazutils)

TLinkList.Clear

Removes all items in the doubly linked list.

Declaration

Source position: lazlinkedlist.pas line 51

public procedure TLinkList.Clear;

Description

Clear is a procedure used to remove all items in the doubly linked list. Clear uses the class instance in First as the initial TLinkListItem in the node traversal order. While the node is assigned, it calls the Delete method for each of the TLinkListItem instances.

See also

TLinkList.FIrst

  

First item in the doubly linked list.

TLinkList.Delete

  

Removes the specified list item from the doubly linked list.


Version 4.0 Generated 2025-05-03 Home