摘要: HashMap扰动函数、负载因子、扩容链表优化 从HashCode为什么选择31开始 public int hashCode() { int h = hash; if (h == 0 && value.length > 0) { char val[] = value; for (int i = 0; 阅读全文
posted @ 2023-03-15 21:44 追D 阅读(160) 评论(0) 推荐(0)