摘要: 理解HashMap先要理解HashCode HashCode HashCode 为什么使用 31 作为乘数? HashCode源码 // 获取 hashCode "abc".hashCode(); public int hashCode() { int h = hash; if (h == 0 && 阅读全文
posted @ 2021-10-10 00:06 Fengx、 阅读(62) 评论(0) 推荐(0) 编辑