Collections.HashIdentity 模块 (F#)

用于哈希表的值标识的通用标记

命名空间/模块路径: Microsoft.FSharp.Collections

程序集:FSharp.Core(在 FSharp.Core.dll 中)

module HashIdentity

说明

FromFunctions : ('T -> int) -> ('T -> 'T -> bool) -> IEqualityComparer<'T>

使用给定哈希和相等性函数进行哈希处理。

LimitedStructural : int -> IEqualityComparer<'T>

提供多达指定元素量的结构哈希。

引用 : IEqualityComparer<'T>

实现物理哈希,这意味着系统将哈希对象的引用标识和值类型的内容..

Structural : IEqualityComparer<'T>

实现结构哈希。 使用 Operators.(=)Operators.hash 进行哈希处理。

平台

Windows 7、Windows Vista SP2、Windows XP SP3、Windows XP x64 SP2、Windows Server 2008 R2、Windows Server 2008 SP2、Windows Server 2003 SP2

版本信息

F# 运行时

受以下版本支持:2.0、4.0

Silverlight

受以下版本支持:3

请参见

参考

Microsoft.FSharp.Collections 命名空间 (F#)