Delete a node from the tree and destroy it.
Source position: avl_tree.pp line 137
public procedure TAVLTree.FreeAndDelete( |
ANode: TAVLTreeNode |
); virtual; |
ANode |
|
Node which must be deleted. |
FreeAndDelete deletes a node from the tree, and destroys the data pointer: The data pointer in the nodes is assumed to be an object, and is freed by calling its destructor.
|
Clears the tree. |
|
|
Delete a node from the tree. |
|
|
Clears the tree and frees nodes. |