Sign in Join
FPDoc Onlineexperiment

TAVLTree.FindLeftMost function

Member of TAVLTreepublicIn unit AVL_Tree

Find the node most left to a specified data node.

Declaration

pascal
function FindLeftMost(Data: Pointer): TAVLTreeNode

Arguments

Data

The data item where to start the search from.

Function result

The leftmost node relative to Data.

Description

FindLeftMost finds the node most left from the Data node. It starts at the preceding node for Data and tries to move as far right in the tree as possible.

This operation corresponds to finding the previous item in a list.

See also

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