Skip to content

TAVLTree.FindPointer

Search for a data pointer.

Declaration

Source position: avl_tree.pp line 157

public 
function TAVLTree.FindPointer(Data: Pointer) : TAVLTreeNode;

Description

FindPointer searches for a node where the actual data pointer equals Data. This is a more fine search than find, where a custom compare function can be used.

The default OnCompare compares the data pointers, so the default Find will return the same node as FindPointer

See also

Name Description
TAVLTree.Find Find a data item in the tree.
TAVLTree.FindKey Find a data item in the tree using alternate compare mechanism.