Skip to content

TBaseAVLTreeNodeManager.DisposeNode

Called when the AVL tree no longer needs node.

Declaration

Source position: avl_tree.pp line 70

public 
procedure TBaseAVLTreeNodeManager.DisposeNode(ANode: TAVLTreeNode)
                                             ;  virtual;  abstract;

Description

DisposeNode is called by TAVLTree when it no longer needs a TAVLTreeNode instance. The manager may decide to re-use the instance for later use instead of destroying it.

See also

Name Description
TBaseAVLTreeNodeManager.NewNode Called when the AVL tree needs a new node.
TAVLTree.Delete Delete a node from the tree.
TAVLTreeNode Represents a node in the tree.