[Overview][Classes][Index] |
Find the node closest to the data in the tree
Source position: avl_tree.pp line 85
public function TAVLTree.FindNearest( |
Data: Pointer |
):TAVLTreeNode; |
Data |
|
The data item to search for. |
The node that is closest to Data
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.
|
Find the highest (rightmost) node in the tree. |
|
|
Find the lowest (leftmost) node in the tree. |
|
|
Find a data item in the tree. |
|
|
Find a data item in the tree using alternate compare mechanism |