Mappings of key As String -> index As Integer
Index
00 Remarks
2017-12-10
经过测试,字典对象是完全可以容纳UniProt数据库之中的物种的数量上限的
| Name | Description |
|---|---|
T |
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 3 | |
| EnumerateMapKeys | 1 | 与Index.Objects只读属性的功能相似,只不过这个函数是Linq枚举器模式 |
| GetOrdinal | 1 | get element index |
| GetSynonymOrdinal | 1 | |
| Delete | 2 | just removes the key, the index ordinal offset will not make any changes |
| NotExists | 1 | For Linq where |
| Add | 3 | insert the specific element into the specific location of the index |
| Clear | 1 | clear mapping and reset the index offset |
| ToString | 1 | Display the input source sequence. |
| op_Explicit | 1 | cast index to a dictionary mapping of object element value to its index value |
| op_Implicit | 2 | Create a index of target element array with index base zero |
| op_Addition | 1 | Add a new key to this index object. |
| op_Subtraction | 2 | removes elements from list based on a given filter element list. |
| op_Like | 1 | item is one of the element in indexr |
| op_Equality | 1 | The element numbers in current index object is equals to given count number value? |
| op_GreaterThan | 1 | The element count inside current index object greater than the given count? |
| op_LessThan | 1 | The element count inside current index object smaller than the given count? |
| indexing | 1 | create a zero-based object index |
| Set | 1 | |
| Intersect | 1 | |
| AddList | 1 | |
| GetEnumerator | 1 | |
| op_Inequality | 1 | |
| op_True | 1 | |
| op_False | 1 |
03 Properties
04 Fields
05 Members
IEnumerable(Of `0), Int32)请注意,这里的数据源请尽量使用Distinct的,否则对于重复的数据,只会记录下第一个位置
this constructor will create an empty index object if the given source input is nothing.
| Name | Type | Description |
|---|---|---|
source | IEnumerable(Of `0) | - |
Int32)默认是从0开始的
| Name | Type | Description |
|---|---|---|
base | Int32 | - |
IDictionary(Of `0, Int32), Int32)| Name | Type | Description |
|---|---|---|
maps | IDictionary(Of `0, Int32) | 如果是json加载,可能会出现空值的字典 |
base% | Int32 | - |
与Index.Objects只读属性的功能相似,只不过这个函数是Linq枚举器模式
IEnumerable(Of `0))get element index
| Name | Type | Description |
|---|---|---|
items | IEnumerable(Of `0) | - |
`0())| Name | Type | Description |
|---|---|---|
synonym | `0() | - |
this function returns -1 if synonym value is not found inside the index
`0)just removes the key, the index ordinal offset will not make any changes
| Name | Type | Description |
|---|---|---|
index | `0 | - |
`0())just removes the key, the index ordinal offset will not make any changes
| Name | Type | Description |
|---|---|---|
index | `0() | - |
`0)For Linq where
| Name | Type | Description |
|---|---|---|
x | `0 | - |
`0)这个函数是线程不安全的
this function will ignores of the existed duplicated item
| Name | Type | Description |
|---|---|---|
x | `0 | - |
这个函数所返回来的值是所添加的x的index值
`0, Int32)insert the specific element into the specific location of the index
| Name | Type | Description |
|---|---|---|
x | `0 | - |
index | Int32 | - |
`0())add a collection of the unique items into current index object
Please note that this function is a iterator function. which means your MUST call the ToArray or ToList method to execute this function, or the items will not be added into current index object.
| Name | Type | Description |
|---|---|---|
x | `0() | - |
clear mapping and reset the index offset
Display the input source sequence.
cast index to a dictionary mapping of object element value to its index value
| Name | Type | Description |
|---|---|---|
index | Index(Of `0) | - |
`0())Create a index of target element array with index base zero
| Name | Type | Description |
|---|---|---|
objs | `0() | - |
Create a index of target element array with index base zero
| Name | Type | Description |
|---|---|---|
list | List(Of `0) | - |
`0)Add a new key to this index object.
| Name | Type | Description |
|---|---|---|
index | Index(Of `0) | Element key index object. |
element | `0 | - |
Delete items from source index and then returns the new modify index collection
| Name | Type | Description |
|---|---|---|
index | Index(Of `0) | - |
list | List(Of `0) | - |
`0(), Index(Of `0))removes elements from list based on a given filter element list.
| Name | Type | Description |
|---|---|---|
list | `0() | - |
filter | Index(Of `0) | - |
a new sequence that not have any elements inside the filter list.
`0, Index(Of `0))item is one of the element in indexr
| Name | Type | Description |
|---|---|---|
item | `0 | - |
indexr | Index(Of `0) | - |
Int32)The element numbers in current index object is equals to given count number value?
| Name | Type | Description |
|---|---|---|
index | Index(Of `0) | - |
count% | Int32 | - |
Int32)The element count inside current index object greater than the given count?
| Name | Type | Description |
|---|---|---|
index | Index(Of `0) | - |
count% | Int32 | - |
Int32)The element count inside current index object smaller than the given count?
| Name | Type | Description |
|---|---|---|
index | Index(Of `0) | - |
count% | Int32 | - |
IEnumerable(Of `0))create a zero-based object index
| Name | Type | Description |
|---|---|---|
data | IEnumerable(Of `0) | - |
获取包含在Dictionary中的键/值对的数目。
Gets the input object keys that using for the construction of this index.
an array of value copy of the map keys
`0)获取目标对象在本索引之中的位置编号,不存在则返回-1
| Name | Type | Description |
|---|---|---|
x | `0 | - |
this function always returns -1(ignores of the Index.base offset value) if the target element is not found.
Int32)直接通过索引获取目标对象的值,请注意,如果T泛型类型是Int32, 则如果需要查找index的话,则必须要显式的指定参数名为x:=,否则调用的是当前的这个索引方法, 得到错误的结果
| Name | Type | Description |
|---|---|---|
index% | Int32 | - |
Returns the obj => index mapping table.
list value will be set to nothing on Index.Delete()
the index offset value ,zero by default
Int32, T)IEnumerable(Of T))T())Int32)