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