[Overview][Classes][Index] Reference for unit 'AVL_Tree' (#fcl)

TAVLTreeNodeMemManager

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

TAVLTreeNode Node memory manager

Declaration

Source position: avl_tree.pp line 118

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: Integer; [rw]

  

Minimum amount of free nodes to be kept.

  property MaximumFreeNodeRatio: Integer; [rw]

  

Maximum amount of free nodes in the list

  property Count: Integer; [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: Sep 28 2017