Skip to content

Commit

Permalink
Java 容器纠错
Browse files Browse the repository at this point in the history
没有 LinkedListHashSet,应为LinkedHashSet
  • Loading branch information
qq296776435 authored Mar 5, 2018
1 parent 0d7fd7a commit e10baaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notes/Java 容器.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

- TreeSet:基于红黑树实现,保持有序,但是查找效率不如 HashSet;

- LinkedListHashSet:具有 HashSet 的查找效率,且内部使用链表维护元素的插入顺序,因此具有有序性。
- LinkedHashSet:具有 HashSet 的查找效率,且内部使用链表维护元素的插入顺序,因此具有有序性。

## 3. Queue

Expand Down

0 comments on commit e10baaa

Please sign in to comment.