Show: Delphi C++
Display Preferences

System.Generics.Defaults.TDelegatedEqualityComparer.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AEquals: TEqualityComparison<T>;  const AGetHashCode: THasher<T>);

C++

__fastcall TDelegatedEqualityComparer__1(const System::DelphiInterface<TEqualityComparison__1<T> > AEquals, const System::DelphiInterface<THasher__1<T> > AGetHashCode);

Properties

Type Visibility Source Unit Parent
constructor public
System.Generics.Defaults.pas
System.Generics.Defaults.hpp
System.Generics.Defaults TDelegatedEqualityComparer

Description

Creates a new instance of the TDelegatedEqualityComparer class.

Use the Create method to create a new instance of the TDelegatedEqualityComparer class. AEquals is a reference to a TEqualityComparison routine that will handle all checks for equality. AGetHashCode is a reference to a THasher routine which will handle all requests to generate a hash code.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance