Sign in Join
FPDoc Onlineexperiment

TBaseAVLTreeNodeManager class

In unit AVL_Tree

Base class for a node memory manager.

Declaration

pascal
TBaseAVLTreeNodeManager = class

Descends from it: TAVLTreeNodeMemManager

Description

TBaseAVLTreeNodeManager is an abstract class from which a descendent can be created that manages creating and disposing of tree nodes (instances of TAVLTreeNode) for a TAVLTree tree instance. No instance of this class should be created, it is a purely abstract class. The default descendant of this class used by an TAVLTree instance is TAVLTreeNodeMemManager.

The SetNodeManager method can be used to set the node manager that a TAVLTree instance should use.

See also

Methods

DisposeNodepublicCalled when the AVL tree no longer needs node.
NewNodepublicCalled when the AVL tree needs a new node.

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