哈希映射,哈希集合,哈希字典之间有什么区别? [英] what is the difference between hash map, hash set, hash dictionary?

查看:263
本文介绍了哈希映射,哈希集合,哈希字典之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以向我解释以下结构之间的区别:

Can somebody explain me the difference between the following structures:


  1. 哈希映射

  2. 哈希表格

  3. 哈希集合和

  4. 哈希字典
  1. Hash Map
  2. Hash Table,
  3. Hash Set, and
  4. 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.

这篇关于哈希映射,哈希集合,哈希字典之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆