Sign in Join
FPDoc Onlineexperiment

TAVLTree.FreeAndClear procedure

Member of TAVLTreepublicIn unit AVL_Tree

Clears the tree and frees nodes.

Declaration

pascal
procedure FreeAndClear

Description

FreeAndClear deletes all nodes from the tree. The data pointer in the nodes is assumed to be an object, and is freed prior to deleting the node from the tree.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.