Sign in Join
FPDoc Onlineexperiment

TAVLTree.Remove function

Member of TAVLTreepublicIn unit AVL_Tree

Remove a data item from the list.

Declaration

pascal
function Remove(Data: Pointer): Boolean

Arguments

Data

Data item to remove from the tree.

Function result

True if the data was found and removed, False if not.

Description

Remove finds the node associated with Data using find and, if found, deletes it from the tree. Only the first occurrence of Data will be removed.

See also

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