System.Generics.Defaults.TDelegatedEqualityComparer.GetHashCode
Delphi
function GetHashCode(const Value: T): Integer; overload; override;
C++
virtual int __fastcall GetHashCode(const T Value)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Generics.Defaults.pas System.Generics.Defaults.hpp |
System.Generics.Defaults | TDelegatedEqualityComparer |
Description
GetHashCode is a generic method that generates a hash code for a given value.
Use the GetHashCode method to generate a hash code for the given input value. As implemented in TDelegatedEqualityComparer, GetHashCode simply forwards the call to the user-supplied routine.