Compare 2 nodes.
Source position: avl_tree.pp line 145
public function TAVLTree.Compare( |
Data1: Pointer; |
Data2: Pointer |
):Integer; |
Data1 |
|
First data pointer. |
Data2 |
|
Second data pointer. |
Result of the comparison.
Compare compares the keys from 2 data pointers. It uses the appropriate compare function TAVLtree.OnCompare or TAVLTree.OnObjectCompare to do so. The result is
|
Compare handler. |
|
|
Compare function used when comparing nodes. |