IComparable Interface

Defines a generalized type-specific comparison method that a class implements to order or sort its instances.

Namespace: Spring
IInvokable
  Spring.IComparable
type
 IComparable = interface(IInvokable)
 ['{7F0E25C8-50D7-4CF0-AB74-1913EBD3EE42}']
 end;

The IComparable type exposes the following members.

Show:
 NameDescription
CompareTo(TObject)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Top