摘要: 最近看HashMap的源码,其中相同下标容易产生hash冲突,但是调试需要发生hash冲突,a56爆大奖在线娱乐模拟hash冲突。 hash冲突原理 HashMap冲突是key首先调用hash()方法: static final int hash(Object key) { int h; return (key = 阅读全文
posted @ 2022-07-06 10:02 小码A梦 阅读(513) 评论(0) 推荐(0) 编辑