Unit 'AVL_Tree' Package
[Overview][Types][Classes][Variables][Index] [#fcl]

TAVLTree.RemovePointer

Remove a pointer item from the list.

Declaration

Source position: avl_tree.pp line 132

public function TAVLTree.RemovePointer(

  Data: Pointer

):Boolean;

Arguments

Data

  

Pointer to remove from the tree.

Function result

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

Description

Remove uses FindPointer to find the node associated with the pointer Data and, if found, deletes it from the tree. Only the first occurrence of Data will be removed.

See also

TAVLTree.Remove

  

Remove a data item from the list.

TAVLTree.Delete

  

Delete a node from the tree.

TAVLTree.Clear

  

Clears the tree.


Documentation generated on: Nov 22 2024