API:System.Generics.Collections.TArray.BinarySearch

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TArray

Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!