hashmapput和get值的时候是怎么确定key在数组中的位子的
时间:2020-05-12 16:45:57
收藏:0
阅读:89
https://blog.csdn.net/weixin_33748818/article/details/91994025
讲扰动函数的
table[(n-1) & hash]
这位大佬讲的很好 我保存下 有人刷到 建议你看看这个链接。
https://my.oschina.net/u/232911/blog/2250339
将hashmap内部结构的,也可以看看,
评论(0)