RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDelegatedEqualityComparer.Equals Method

Equals is a generic method that checks whether two values are equal.

Pascal
function Equals(const Left: T; const Right: T): Boolean; override; overload;
C++
virtual __fastcall Boolean Equals(const T Left, const T Right);

Use the Equals method to check the equality of two values of the same type. As implemented in TDelegatedEqualityComparer, Equals simply forwards the call to the user-supplied routine. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!