M_Cyjb_Collections_ReadOnlyPrefixTreeData_1__ctor - CYJB/Cyjb GitHub Wiki
初始化只读前缀的数据。
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public ReadOnlyPrefixTreeData(
KeyValuePair<string, TValue>[] items,
int[] nodes,
int[] trans
)
- items
- Type: System.Collections.Generic.KeyValuePair(String, TValue)[]
前缀树包含的元素。 - nodes
- Type: System.Int32[]
前缀树的节点列表。 - trans
- Type: System.Int32[]
前缀树的转移列表。