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

TAVLTree.CreateObjectCompare

Create an instance of the tree with extended compare method

Declaration

Source position: avl_tree.pp line 106

public constructor TAVLTree.CreateObjectCompare(

  const OnCompareMethod: TObjectSortCompare

);

Arguments

OnCompareMethod

  

The value for the OnObjectCompare

Description

CreateObjectCompare is an alternative constructor that accepts a TObjectSortCompare compare function instead of a regular TListSortCompare compare function. The compare function can still be set in the TAVLTree.OnObjectCompare property.

See also

TAVLTree.OnObjectCompare

  

Compare handler


Documentation generated on: May 14 2021