System.Generics.Defaults.TDelegatedEqualityComparer.Equals
Delphi
function Equals(const Left, Right: T): Boolean; overload; override;
C++
virtual bool __fastcall Equals(const T Left, const T Right)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Generics.Defaults.pas System.Generics.Defaults.hpp |
System.Generics.Defaults | TDelegatedEqualityComparer |
Description
Equals is a generic method that checks whether two values are equal.
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.