System.Generics.Defaults

From RAD Studio API Documentation
Jump to: navigation, search

Unit that implements classes for comparison, sorting, hashing, and more.

Package rtl270.bpl

Classes

IComparerIComparer is the generic interface for comparing two values of the same type.
IEqualityComparerIEqualityComparer is the generic interface used to check the equality of two values.
TComparerTComparer is a generic base for classes that implement the IComparer interface.
TCustomComparerTCustomComparer is a generic base for classes that implement the IComparer and IEqualityComparer interfaces.
TDelegatedComparerTDelegatedComparer is a generic class that delegates all comparison calls to an user-provided callback routine.
TDelegatedEqualityComparerTDelegatedEqualityComparer delegates all calls to user-provided callback routines.
TEqualityComparerTEqualityComparer is a generic base for classes that implement the IEqualityComparer interface.
TIStringComparerRepresents a generic string comparer.
TOrdinalIStringComparerRepresents a generic string ordinal comparer.
TSingletonImplementationTSingletonImplementation is a base for simple classes that need a basic IInterface implementation, with reference counting disabled.
TStringComparerTStringComparer is a case-sensitive string comparer.

Routines

_LookupVtableInfo_LookupVtableInfo is used internally.
BinaryCompareBinaryCompare is used to compare two memory blocks.
BobJenkinsHash (deprecated)BobJenkinsHash is used to generate the hash code of a memory block.

Types

TComparisonTComparison declares a reference to a generic function.
TDefaultGenericInterfaceTDefaultGenericInterface is used internally.
TEqualityComparisonTEqualityComparison defines a generic callback function used to check the equality of two generic values.
THasherTHasher defines a generic callback function used to generate the hash code of a value.