Sign in Join
FPDoc Onlineexperiment

TAVLTreeNodeMemManager class

In unit AVL_Tree

TAVLTreeNode Node memory manager.

Declaration

pascal
TAVLTreeNodeMemManager = class(TBaseAVLTreeNodeManager)

Inheritance

  1. TAVLTreeNodeMemManager
  2. TBaseAVLTreeNodeManager

Description

TAVLTreeNodeMemManager is an internal object used by the avl_tree unit. Normally, no instance of this object should be created: An instance is created by the unit initialization code, and freed when the unit is finalized.

See also

Properties

MinimumFreeNodepublicMinimum amount of free nodes to be kept.
MaximumFreeNodeRatiopublicMaximum amount of free nodes in the list.
CountpublicNumber of nodes in the list.

Methods

DisposeNodepublicReturn a node to the free list.
NewNodepublicCreate a new TAVLTreeNode instance.
ClearpublicFrees all unused nodes.
CreatepublicCreate a new instance of TAVLTreeNodeMemManager.
Destroypublic

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