Defines a method that compares two values of the same type.
Delphi
IComparer<T> = interface(IInterface)
Type Parameters
- T
The type of values to compare.
- Inheritance
-
IInterfaceIComparer<T>
| Compare(T, T) |
Compares two values and returns a value that indicates their relative order. |