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

TAVLTreeNode.GetCount

Get the number of nodes.

Declaration

Source position: avl_tree.pp line 61

public function TAVLTreeNode.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.


Documentation generated on: Dec 22 2024