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

TAVLTree.Remove

Remove a data item from the list.

Declaration

Source position: avl_tree.pp line 131

public function TAVLTree.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

TAVLTree.Delete

  

Delete a node from the tree.

TAVLTree.RemovePointer

  

Remove a pointer item from the list.

TAVLTree.Clear

  

Clears the tree.

TAVLTree.Find

  

Find a data item in the tree.


Documentation generated on: Dec 27 2024