M_Cyjb_Collections_DictionaryEqualityComparer_2_GetHashCode - CYJB/Cyjb GitHub Wiki
返回指定对象的哈希代码,使用 MurmurHash3 的无序版本。
Namespace: Cyjb.Collections
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public override int GetHashCode(
IReadOnlyDictionary<TKey, TValue> dict
)
- dict
- Type: System.Collections.Generic.IReadOnlyDictionary(TKey, TValue)
将为其返回哈希代码的集合。
Type: Int32
指定集合的哈希代码。
IEqualityComparer(T).GetHashCode(T)
异常 | 条件 |
---|---|
ArgumentNullException |
dict 为 null 。 |
DictionaryEqualityComparer(TKey, TValue) 类
GetHashCode 重载
Cyjb.Collections 命名空间