TAVLTree.IsEqual¶
Check whether 2 tree instances are equal.
Declaration¶
Source position: avl_tree.pp line 139
public
function TAVLTree.IsEqual(aTree: TAVLTree; CheckDataPointer: Boolean)
: Boolean;
Description¶
IsEqual checks the current tree with aTree and checks whether the two trees contain the same data in the same order and whether they use the same compare methods, and node class. If CheckDataPointer is True, only the data pointers are compared, not the keys.
Errors¶
None.
See also¶
| Name | Description |
|---|---|
| TAvlTree.Equals | Check if two trees are equal. |