Skip to content

Commit 22b06f0

Browse files
authored
Merge pull request Snailclimb#418 from yidasanqian/master
书写更正
2 parents 75e88aa + be248d4 commit 22b06f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/java/collection/Java集合框架常见面试题.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ Output:
431431
#### 2. Set
432432

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

437437
### Map
438438

0 commit comments

Comments
 (0)