TAVLTree.FindNearest function
Find the node closest to the data in the tree.
Declaration
function FindNearest(Data: Pointer): TAVLTreeNodeArguments
Data | The data item to search for. |
Function result
The node that is closest to
Data.
Description
FindNearest searches the node in the data tree that is closest to
the specified
Data. If
Data appears in the tree, then
its node is returned.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
