System.Generics.Defaults
Unit that implements classes for comparison, sorting, hashing, and more.
Package | rtl270.bpl |
---|
Classes
IComparer | IComparer is the generic interface for comparing two values of the same type. |
IEqualityComparer | IEqualityComparer is the generic interface used to check the equality of two values. |
TComparer | TComparer is a generic base for classes that implement the IComparer interface. |
TCustomComparer | TCustomComparer is a generic base for classes that implement the IComparer and IEqualityComparer interfaces. |
TDelegatedComparer | TDelegatedComparer is a generic class that delegates all comparison calls to an user-provided callback routine. |
TDelegatedEqualityComparer | TDelegatedEqualityComparer delegates all calls to user-provided callback routines. |
TEqualityComparer | TEqualityComparer is a generic base for classes that implement the IEqualityComparer interface. |
TIStringComparer | Represents a generic string comparer. |
TOrdinalIStringComparer | Represents a generic string ordinal comparer. |
TSingletonImplementation | TSingletonImplementation is a base for simple classes that need a basic IInterface implementation, with reference counting disabled. |
TStringComparer | TStringComparer is a case-sensitive string comparer. |
Routines
_LookupVtableInfo | _LookupVtableInfo is used internally. |
BinaryCompare | BinaryCompare is used to compare two memory blocks. |
BobJenkinsHash (deprecated) | BobJenkinsHash is used to generate the hash code of a memory block. |
Types
TComparison | TComparison declares a reference to a generic function. |
TDefaultGenericInterface | TDefaultGenericInterface is used internally. |
TEqualityComparison | TEqualityComparison defines a generic callback function used to check the equality of two generic values. |
THasher | THasher defines a generic callback function used to generate the hash code of a value. |