System.Generics.Defaults.TStringComparer

From RAD Studio API Documentation
Jump to: navigation, search

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

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