Sign in Join
FPDoc Onlineexperiment

TAVLTree.Equals function

Member of TAVLTreepublicIn unit AVL_Tree

Check if two trees are equal.

Declaration

pascal
function Equals(Obj: TObject): Boolean; override

Arguments

Obj

Object to compare.

Function result

True if the passed object is an equal tree.

Description

Equals checks, when passed an TAVLTtree, whether the tree is equal (using IsEqual, comparing keys only). If another type of object is passed, the inherited IsEqual is called.

Errors

None.

See also

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