Open main menu

RAD Studio API Documentation β

System.Generics.Defaults.TStringComparer

Revision as of 10:49, 10 February 2014 by AChavesBot (talk | contribs) (47307.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

System.Generics.Defaults.TCustomComparerSystem.Generics.Defaults.TSingletonImplementationSystem.TObjectTStringComparer

Delphi

TStringComparer = class(TCustomComparer<string>)

C++

class PASCALIMPLEMENTATION TStringComparer : public TCustomComparer__1<System::UnicodeString>

Properties

Type Visibility Source Unit Parent
class public
System.Generics.Defaults.pas
System.Generics.Defaults.hpp
System.Generics.Defaults System.Generics.Defaults

Contents

Description

TStringComparer is a case-sensitive string comparer.

TStringComparer is a case-sensitive string comparer that can be used in generic collections. TStringComparer uses binary comparison and hash generation routines internally.

Do not create instances of the TStringComparer class. TStringComparer rather acts like a singleton. Use the Ordinal method to get an instance of the TStringComparer class.

See Also

Code Examples