Sign in Join
FPDoc Onlineexperiment

TAVLTree.FindPointer function

Member of TAVLTreepublicIn unit AVL_Tree

Search for a data pointer.

Declaration

pascal
function FindPointer(Data: Pointer): TAVLTreeNode

Arguments

Data

The data pointer to search for.

Function result

The node that matches Data.

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

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