IComparer<T> Interface

Definition

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
IInterface
IComparer<T>

Methods

Compare(T, T)

Compares two values and returns a value that indicates their relative order.

See also