Generics.Defaults.TDelegatedEqualityComparer.Equals

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

From Generics.Defaults.pas

	function Equals(const Left: T; const Right: T): Boolean; overload; override;


Unit: Generics.Defaults

Type: method

Visibility: public

Member Of: 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.

See Also

Personal tools
Translations
Newest Version