Sign in Join
FPDoc Onlineexperiment

TAVLTree.MoveDataLeftMost procedure

Member of TAVLTreepublicIn unit AVL_Tree

Move data to the nearest left element.

Declaration

pascal
procedure MoveDataLeftMost(var ANode: TAVLTreeNode)

Arguments

ANode

Node whose data most be moved.

Description

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

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.