System.IEquatable

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

IEquatable<T> = interface(IInterface)

C++

template<typename T> __interface IEquatable__1  : public IInterface

Properties

Type Visibility Source Unit Parent
interface
class
public
System.pas
System.hpp
System System

Description

IEquatable is the generic interface used to check the equality of two objects.

IEquatable is implemented by classes that have to support equality checking. IEquatable exposes a single method, called Equals. Equals can be used later to check the equality of two instances of the same class.

See Also