System.Generics.Defaults.TStringComparer

提供: RAD Studio API Documentation
移動先: 案内検索

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

Delphi

TStringComparer = class(TCustomComparer<string>)

C++

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

プロパティ

種類 可視性 ソース ユニット
class public
System.Generics.Defaults.pas
System.Generics.Defaults.hpp
System.Generics.Defaults System.Generics.Defaults

説明

TStringComparer は、大文字と小文字を区別する文字列比較クラスです。

TStringComparer は大文字と小文字を区別する文字列比較クラスで、ジェネリック コレクションで使用することができます。TStringComparer では、バイナリ比較ルーチンとハッシュ生成ルーチンを内部で使用します。

TStringComparer クラスのインスタンスを作成しないでください。TStringComparer はむしろシングルトンのような動作をします。Ordinal メソッドを使用すると、TStringComparer クラスのインスタンスを取得できます。

関連項目