Unit 'AVL_Tree' Package
[Overview][Types][Classes][Variables][Index] [#fcl]

TAVLTree.Clear

Clears the tree.

Declaration

Source position: avl_tree.pp line 135

public procedure TAVLTree.Clear;

Description

Clear deletes all nodes from the tree. The nodes themselves are not freed, and the data pointer in the nodes is also not freed.

If the node's data must be freed as well, use TAVLTree.FreeAndClear instead.

See also

TAVLTree.FreeAndClear

  

Clears the tree and frees nodes.

TAVLTree.Delete

  

Delete a node from the tree.


Documentation generated on: Nov 22 2024