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

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;

Arguments

ANode

  

Node to dispose of.

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

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.


Documentation generated on: Nov 22 2024