Clears the tree.
Source position: avl_tree.pp line 135
public procedure TAVLTree.Clear; |
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.
|
Clears the tree and frees nodes. |
|
|
Delete a node from the tree. |