diff --git a/docs/notes/Java 容器.md b/docs/notes/Java 容器.md index 04ab70c7..41233b3c 100644 --- a/docs/notes/Java 容器.md +++ b/docs/notes/Java 容器.md @@ -15,7 +15,6 @@ * [ConcurrentHashMap](#concurrenthashmap) * [LinkedHashMap](#linkedhashmap) * [WeakHashMap](#weakhashmap) -* [附录](#附录) * [参考资料](#参考资料) @@ -52,7 +51,7 @@ ## Map -

+

- TreeMap:基于红黑树实现。 @@ -1097,90 +1096,6 @@ public final class ConcurrentCache { } ``` -# 附录 - -Collection 绘图源码: - -``` -@startuml - -interface Collection -interface Set -interface List -interface Queue -interface SortSet - -class HashSet -class LinkedHashSet -class TreeSet -class ArrayList -class Vector -class LinkedList -class PriorityQueue - - -Collection <|-- Set -Collection <|-- List -Collection <|-- Queue -Set <|-- SortSet - -Set <|.. HashSet -Set <|.. LinkedHashSet -SortSet <|.. TreeSet -List <|.. ArrayList -List <|.. Vector -List <|.. LinkedList -Queue <|.. LinkedList -Queue <|.. PriorityQueue - -@enduml -``` - -Map 绘图源码 - -``` -@startuml - -interface Map -interface SortMap - -class HashTable -class LinkedHashMap -class HashMap -class TreeMap - -Map <|.. HashTable -Map <|.. LinkedHashMap -Map <|.. HashMap -Map <|-- SortMap -SortMap <|.. TreeMap - -@enduml -``` - -迭代器类图 - -``` -@startuml - -interface Iterable -interface Collection -interface List -interface Set -interface Queue -interface Iterator -interface ListIterator - -Iterable <|-- Collection -Collection <|.. List -Collection <|.. Set -Collection <|-- Queue -Iterator <-- Iterable -Iterator <|.. ListIterator -ListIterator <-- List - -@enduml -``` # 参考资料 diff --git a/docs/notes/pics/2_2001550426232419.png b/docs/notes/pics/2_2001550426232419.png new file mode 100644 index 00000000..810892ec Binary files /dev/null and b/docs/notes/pics/2_2001550426232419.png differ diff --git a/docs/pics/2_2001550426232419.png b/docs/pics/2_2001550426232419.png new file mode 100644 index 00000000..810892ec Binary files /dev/null and b/docs/pics/2_2001550426232419.png differ