API:System.Generics.Collections.TArray.BinarySearch

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

Delphi

class function BinarySearch<T>(const Values: array of T; const Item: T;
out FoundIndex: NativeInt; const Comparer: IComparer<T>;
Index, Count: NativeInt): Boolean; overload; static;
class function BinarySearch<T>(const Values: array of T; const Item: T;
out FoundIndex: NativeInt; const Comparer: IComparer<T>): Boolean; overload; static;
class function BinarySearch<T>(const Values: array of T; const Item: T;
out FoundIndex: NativeInt): Boolean; overload; static;

C++

template<typename T> static bool __fastcall BinarySearch(const T *Values, const System::NativeInt Values_High, const T Item, /* out */ System::NativeInt &FoundIndex, const System::DelphiInterface<System::Generics::Defaults::IComparer__1<T> > Comparer, System::NativeInt Index, System::NativeInt Count)/* overload */;
template<typename T> static bool __fastcall BinarySearch(const T *Values, const System::NativeInt Values_High, const T Item, /* out */ System::NativeInt &FoundIndex, const System::DelphiInterface<System::Generics::Defaults::IComparer__1<T> > Comparer)/* overload */;
template<typename T> static bool __fastcall BinarySearch(const T *Values, const System::NativeInt Values_High, const T Item, /* out */ System::NativeInt &FoundIndex)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TArray

説明

このトピックには現在ドキュメントが存在しません。「ノート」を利用してこのトピックの改良について話しあうことができます。