TAVLTree.Find function
Find a data item in the tree.
Declaration
function Find(Data: Pointer): TAVLTreeNodeArguments
Data | Data item to search for. |
Function result
Tree node corresponding to
Data item.
Description
Find uses the default
OnCompare
comparing function to find the
Data pointer in the tree.
It returns the
TAVLTreeNode instance that results in a successful
compare with the
Data pointer, or
Nil if none is found.
The default OnCompare function compares the actual pointers,
which means that by default Find will give the same result
as FindPointer.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
