Skip to content

TAVLTreeNode.ConsistencyCheck

Check consistency of the node and below nodes.

Declaration

Source position: avl_tree.pp line 60

public 
procedure TAVLTreeNode.ConsistencyCheck(Tree: TAVLTree);  virtual;

Description

ConsistencyCheck checks whether the node and nodes below are consistent, i.e. the nodes are still ordered correctly: left nodes are before right nodes.

Errors

If an inconsistency is detected, an exception is raised.