[Overview][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Represents a node in the tree.
Source position: avl_tree.pp line 36
type TAVLTreeNode = class |
||
public |
||
|
Reference to the parent node in the tree. |
|
|
Reference to the left subtree of the current node. |
|
|
Reference to the right subtree of the current node. |
|
|
Balance of the current node |
|
Data: Pointer; |
|
The data item associated with this node. |
procedure Clear; |
|
Clears the node's data |
function TreeDepth; |
|
Level of the node in the tree below |
end; |
|
Represents a node in the tree. |
|
| | ||
TObject |
TAVLTreeNode represents a single node in the AVL tree. It contains references to the other nodes in the tree, and provides a Data pointer which can be used to store the data, associated with the node.
|
AVL tree component |
|
|
The data item associated with this node. |