Skip to content

Commit

Permalink
Fixed collections mutable diagram to show PriorityQueue is Iterable, …
Browse files Browse the repository at this point in the history
…not Seq, added TreeMap
  • Loading branch information
rkoeninger committed Oct 9, 2018
1 parent ef7e5a3 commit 4513f18
Show file tree
Hide file tree
Showing 2 changed files with 203 additions and 191 deletions.
14 changes: 8 additions & 6 deletions resources/images/tour/collections-mutable-diagram.dot
Expand Up @@ -18,6 +18,7 @@ digraph MutableCollections {
WeakHashMap [color="#4A5659"];
LinkedHashMap [color="#4A5659"];
ListMap [color="#4A5659"];
TreeMap [color="#4A5659"];
ImmutableMapAdaptor [color="#4A5659"];
ArraySeq [color="#4A5659"];
ArrayBuffer [color="#4A5659"];
Expand All @@ -37,13 +38,15 @@ digraph MutableCollections {
Iterable -> Map;
Iterable -> Seq [penwidth="4"];
Iterable -> Set;
Iterable -> PriorityQueue;
Map -> HashMap [penwidth="4"];
Map -> WeakHashMap;
Map -> OpenHashMap;
Map -> LinkedHashMap;
Map -> ObservableMap;
Map -> SynchronizedMap;
Map -> ImmutableMapAdaptor;
Map -> TreeMap;
Map -> ListMap;
Map -> MultiMap;
Set -> HashSet [penwidth="4"];
Expand All @@ -57,7 +60,6 @@ digraph MutableCollections {
Seq -> IndexedSeq [penwidth="4"];
Seq -> Buffer;
Seq -> Stack;
Seq -> PriorityQueue;
Seq -> ArrayStack;
LinearSeq -> MutableList [penwidth="4"];
LinearSeq -> LinkedList;
Expand All @@ -74,13 +76,18 @@ digraph MutableCollections {
MutableList -> Queue;
Queue -> SynchronizedQueue;

{rank=same;
Iterable;
PriorityQueue;
SynchronizedPriorityQueue}
{rank=same;
Map;
Set}
{rank=same;
WeakHashMap;
LinkedHashMap;
ListMap;
ObservableMap;
ImmutableMapAdaptor;
BitSet;
LinkedHashSet;
Expand All @@ -89,7 +96,6 @@ digraph MutableCollections {
{rank=same;
HashMap;
OpenHashMap;
ObservableMap;
SynchronizedMap;
MultiMap;
HashSet;
Expand All @@ -100,14 +106,12 @@ digraph MutableCollections {
Buffer;
LinearSeq;
Stack;
PriorityQueue;
ArrayStack}
{rank=same;
ArraySeq;
ArrayBuffer;
SynchronizedBuffer;
SynchronizedStack;
SynchronizedPriorityQueue;
MutableList;
LinkedList}
{rank=same;
Expand All @@ -116,6 +120,4 @@ digraph MutableCollections {
ListBuffer;
Queue;
DoubleLinkedList}
{rank=same;
SynchronizedQueue}
}

0 comments on commit 4513f18

Please sign in to comment.