[Overview][Types][Classes][Variables][Index] Reference for unit 'AVL_Tree' (#fcl)

TAVLTree.Compare

Compare 2 nodes

Declaration

Source position: avl_tree.pp line 137

public function TAVLTree.Compare(

  Data1: Pointer;

  Data2: Pointer

):Integer;

Arguments

Data1

  

First data pointer

Data2

  

Second data pointer

Function result

Result of the comparison

Description

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

See also

TAVLTree.OnObjectCompare

  

Compare handler

TAVLtree.OnCompare

  

Compare function used when comparing nodes


Documentation generated on: May 14 2021