API:System.Generics.Collections.TArray.BinarySearch
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 */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TArray |
Description
Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !