哈希映射,哈希集合,哈希字典之间有什么区别?
问题描述:
有人可以向我解释以下结构之间的区别:
Can somebody explain me the difference between the following structures:
- 哈希映射
- 哈希表格
- 哈希集合和
- 哈希字典
- Hash Map
- Hash Table,
- Hash Set, and
- Hash Dictionary
答
HashMap,HashTable和HashDictionary都意味着一个字典,将唯一的无序键映射到相应的值,使用hashcodes实现。
HashMap, HashTable, and HashDictionary all mean a dictionary, mapping unique unordered keys to corresponding values, implemented using hashcodes.
HashSet表示一个唯一的无序集合,使用hashcodes实现。
HashSet means a unique, unordered set, implemented using hashcodes.