Skip to content

TBaseAVLTreeNodeManager.NewNode

Called when the AVL tree needs a new node.

Declaration

Source position: avl_tree.pp line 71

public 
function TBaseAVLTreeNodeManager.NewNode : TAVLTreeNode;  virtual
                                        ;  abstract;

Description

NewNode is called by TAVLTree when it needs a new node in TAVLTree.Add. It must be implemented by descendants to return a new TAVLTreeNode instance.

See also

Name Description
TBaseAVLTreeNodeManager.DisposeNode Called when the AVL tree no longer needs node.
TAVLTree.Add Add a new node to the tree.
TAVLTreeNode Represents a node in the tree.