1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Merge pull request #418 from yidasanqian/master

书写更正
This commit is contained in:
SnailClimb 2019-08-03 20:29:52 +08:00 committed by GitHub
commit 22b06f0403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -431,8 +431,8 @@ Output
#### 2. Set #### 2. Set
- **HashSet无序唯一:** 基于 HashMap 实现的,底层采用 HashMap 来保存元素 - **HashSet无序唯一:** 基于 HashMap 实现的,底层采用 HashMap 来保存元素
- **LinkedHashSet** LinkedHashSet 继承 HashSet并且其内部是通过 LinkedHashMap 来实现的。有点类似于我们之前说的LinkedHashMap 其内部是基于 Hashmap 实现一样,不过还是有一点点区别的 - **LinkedHashSet** LinkedHashSet 继承 HashSet并且其内部是通过 LinkedHashMap 来实现的。有点类似于我们之前说的LinkedHashMap 其内部是基于 HashMap 实现一样,不过还是有一点点区别的
- **TreeSet有序唯一** 红黑树(自平衡的排序二叉树) - **TreeSet有序唯一** 红黑树(自平衡的排序二叉树)
### Map ### Map