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

TAVLTreeNodeMemManager

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TAVLTreeNode Node memory manager.

Declaration

Source position: avl_tree.pp line 181

type TAVLTreeNodeMemManager = class(TBaseAVLTreeNodeManager)

public

  procedure DisposeNode(); override;

  

Return a node to the free list.

  function NewNode; override;

  

Create a new TAVLTreeNode instance.

  property MinimumFreeNode: SizeInt; [rw]

  

Minimum amount of free nodes to be kept.

  property MaximumFreeNodeRatio: SizeInt; [rw]

  

Maximum amount of free nodes in the list.

  property Count: SizeInt; [r]

  

Number of nodes in the list.

  procedure Clear;

  

Frees all unused nodes.

  constructor Create;

  

Create a new instance of TAVLTreeNodeMemManager.

  destructor Destroy; override;

  

end;

Inheritance

TAVLTreeNodeMemManager

  

TAVLTreeNode Node memory manager.

|

TBaseAVLTreeNodeManager

  

Base class for a node memory manager.

|

TObject

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

TAVLTreeNode

  

Represents a node in the tree.

TAVLTree

  

AVL tree component.


Documentation generated on: Nov 22 2024