RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IEquatable Interface

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

Pascal
IEquatable<T> = interface;
C++
template <T>
__interface IEquatable;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!