Sign in Join
FPDoc Onlineexperiment

TAVLTree.Assign procedure

Member of TAVLTreepublicIn unit AVL_Tree

Assign another tree.

Declaration

pascal
procedure Assign(aTree: TAVLTree); virtual

Arguments

aTree

Tree to copy data from.

Description

Assign copies all data from aTree to the current tree if they are not equal. The current tree is cleared first. Note that the compare function(s) and class node are not copied, only the data.

Errors

If you pass nil, an exception is raised.

See also

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