Methods_T_Cyjb_Collections_ReadOnlyPrefixTree_1 - CYJB/Cyjb GitHub Wiki

ReadOnlyPrefixTree(TValue) 方法

The ReadOnlyPrefixTree(TValue) generic type exposes the following members.

方法

 

名称 说明
公共方法 ContainsKey 确定当前前缀树是否包含带有指定键的元素。 (重写 ReadOnlyDictionaryBase(TKey, TValue).ContainsKey(TKey).)
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
受保护的方法 Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。)
公共方法 GetData 返回当前前缀树的底层数据,用于序列化预构建的前缀树,减少运行时构建耗时。
公共方法 GetEnumerator 返回一个循环访问前缀树的枚举器。 (重写 ReadOnlyDictionaryBase(TKey, TValue).GetEnumerator().)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
受保护的方法 GetItem 获取具有指定键的元素。 (重写 ReadOnlyDictionaryBase(TKey, TValue).GetItem(TKey).)
受保护的方法 GetSyncRoot 获取一个可用于同步对当前字典的访问的对象。 (继承自 ReadOnlyDictionaryBase(TKey, TValue)。)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
受保护的方法 MemberwiseClone Creates a shallow copy of the current Object. (继承自 Object。)
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
公共方法 TryGetValue 获取与指定键关联的值。 (重写 ReadOnlyDictionaryBase(TKey, TValue).TryGetValue(TKey, TValue).)
公共方法 TryMatchLongest 匹配最长的前缀。
公共方法 TryMatchShortest 匹配最短的前缀。
  Back to Top

参见

Reference

ReadOnlyPrefixTree(TValue) 类
Cyjb.Collections 命名空间

⚠️ **GitHub.com Fallback** ⚠️