Sign in Join
FPDoc Onlineexperiment

TAVLTree.FindRightMost function

Member of TAVLTreepublicIn unit AVL_Tree

Find the node most right to a specified node.

Declaration

pascal
function FindRightMost(Data: Pointer): TAVLTreeNode

Arguments

Data

The data item where to start the search from.

Function result

The rightmost node relative to Data.

Description

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

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

See also

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