Sign in Join
FPDoc Onlineexperiment

TAVLTreeNode.GetCount function

Member of TAVLTreeNodepublicIn unit AVL_Tree

Get the number of nodes.

Declaration

pascal
function GetCount: SizeInt

Function result

The number of nodes in the subtree, starting from the current.

Description

GetCount returns 1 plus the number of subnodes, if any.

Errors

None.

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