Assign another tree.
Source position: avl_tree.pp line 140
public procedure TAVLTree.Assign( |
aTree: TAVLTree |
); virtual; |
aTree |
|
Tree to copy data from. |
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.
If you pass nil, an exception is raised.
|
Check whether 2 tree instances are equal. |