精确查找某一个对象
BinarySearchFunction
Type Parameters
| Name | Description |
|---|---|
K | |
T |
01 Syntax
Microsoft.VisualBasic.ComponentModel.Algorithm.BinarySearchFunction`2
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| BinarySearch | 1 | should be reorder in asc |
03 Properties
04 Members
BinarySearch(
`0)should be reorder in asc
Parameters
| Name | Type | Description |
|---|---|---|
target | `0 | - |
Returns
Returns -1 means no search result
Item(
Int32)negative index value means read from reverse seqeucne
Parameters
| Name | Type | Description |
|---|---|---|
i | Int32 | - |
size
the length of the input sequence data