Skip to content

TAVLTree.FindRightMostKey

Find the node most right to a specified key node.

Declaration

Source position: avl_tree.pp line 162

public 
function TAVLTree.FindRightMostKey(Key: Pointer; 
                                  const OnCompareKeyWithData: TListSortCompare)
                                   : TAVLTreeNode;

Description

FindRightMostKey finds the node most left from the node associated with Key. It starts at the succeeding node for Key and tries to move as far right in the tree as possible.

See also

Name Description
TAVLTree.FindLeftMost Find the node most left to a specified data node.
TAVLTree.FindRightMost Find the node most right to a specified node.
TAVLTree.FindLeftMostKey Find the node most left to a specified key node.