Sign in Join
FPDoc Onlineexperiment

TAVLTree.Create constructor

Member of TAVLTreepublicIn unit AVL_Tree

Create a new instance of TAVLTree.

Declaration

pascal
constructor Create(const OnCompareMethod: TListSortCompare)
constructor Create

Arguments

OnCompareMethod

Alternative node comparison method.

Description

Create initializes a new instance of TAVLTree. An alternate OnCompare can be provided: the default OnCompare method compares the 2 data pointers of a node.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.