TAVLTree.FindSuccessor function
Find successor to node.
Declaration
function FindSuccessor(ANode: TAVLTreeNode): TAVLTreeNodeArguments
ANode | The node from which to start the search. |
Function result
The succeeding node.
Description
FindSuccessor returns the successor to
ANode: this is the
leftmost node in the right subtree, or the leftmost node above the node
ANode. This can of course be
Nil.
This method is used when a node must be inserted at the rightmost position.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
