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

TAVLTree.MoveDataRightMost

Move data to the nearest right element.

Declaration

Source position: avl_tree.pp line 134

public procedure TAVLTree.MoveDataRightMost(

  var ANode: TAVLTreeNode

);

Arguments

ANode

  

Node whose data most be moved.

Description

MoveDataRightMost moves the data from the node ANode to the rightmost location relative to Anode. It returns the new node where the data is positioned. The data from the former rightmost node will be switched to ANode.

This operation corresponds to switching the current with the next element in a list.

See also

TAVLTree.MoveDataLeftMost

  

Move data to the nearest left element.


Documentation generated on: Dec 22 2024