We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60d92bd commit 2a14332Copy full SHA for 2a14332
Java相关/这几道Java集合框架面试题几乎必问.md
@@ -98,6 +98,8 @@ JDK1.8 之前 HashMap 由 **数组+链表** 组成的(**“链表散列”**
98
99
## HashSet 和 HashMap 区别
100
101
+如果你看过 HashSet 源码的话就应该知道:HashSet 底层就是基于 HashMap 实现的。(HashSet 的源码非常非常少,因为除了 clone() 方法、writeObject()方法、readObject()方法是 HashSet 自己不得不实现之外,其他方法都是直接调用 HashMap 中的方法。)
102
+
103

104
105
## ConcurrentHashMap 和 Hashtable 的区别
0 commit comments