|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <class-diagram version="1.1.8" icons="true" automaticImage="PNG" always-add-relationships="false" generalizations="true" |
3 | 3 | realizations="true" associations="true" dependencies="false" nesting-relationships="true"> |
4 | | - <class id="1" language="java" name="com.iluwatar.reader.writer.lock.ReaderWriterLock.ReaderLock" |
5 | | - project="reader-writer-lock" |
6 | | - file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/ReaderWriterLock.java" binary="false" |
| 4 | + <class id="1" language="java" name="com.iluwatar.reader.writer.lock.Writer" project="reader-writer-lock" |
| 5 | + file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/Writer.java" binary="false" |
7 | 6 | corner="BOTTOM_RIGHT"> |
8 | | - <position height="-1" width="-1" x="305" y="511"/> |
| 7 | + <position height="-1" width="-1" x="487" y="105"/> |
9 | 8 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
10 | 9 | sort-features="false" accessors="true" visibility="true"> |
11 | 10 | <attributes public="true" package="true" protected="true" private="true" static="true"/> |
12 | 11 | <operations public="true" package="true" protected="true" private="true" static="true"/> |
13 | 12 | </display> |
14 | 13 | </class> |
15 | | - <class id="2" language="java" name="com.iluwatar.reader.writer.lock.ReaderWriterLock" project="reader-writer-lock" |
| 14 | + <class id="2" language="java" name="com.iluwatar.reader.writer.lock.ReaderWriterLock.WriteLock" |
| 15 | + project="reader-writer-lock" |
16 | 16 | file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/ReaderWriterLock.java" binary="false" |
17 | 17 | corner="BOTTOM_RIGHT"> |
18 | | - <position height="-1" width="-1" x="394" y="270"/> |
| 18 | + <position height="191" width="197" x="488" y="313"/> |
19 | 19 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
20 | 20 | sort-features="false" accessors="true" visibility="true"> |
21 | 21 | <attributes public="true" package="true" protected="true" private="true" static="true"/> |
22 | 22 | <operations public="true" package="true" protected="true" private="true" static="true"/> |
23 | 23 | </display> |
24 | 24 | </class> |
25 | | - <class id="3" language="java" name="com.iluwatar.reader.writer.lock.App" project="reader-writer-lock" |
26 | | - file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/App.java" binary="false" |
| 25 | + <class id="3" language="java" name="com.iluwatar.reader.writer.lock.ReaderWriterLock" project="reader-writer-lock" |
| 26 | + file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/ReaderWriterLock.java" binary="false" |
27 | 27 | corner="BOTTOM_RIGHT"> |
28 | | - <position height="-1" width="-1" x="671" y="274"/> |
| 28 | + <position height="245" width="224" x="606" y="28"/> |
29 | 29 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
30 | 30 | sort-features="false" accessors="true" visibility="true"> |
31 | 31 | <attributes public="true" package="true" protected="true" private="true" static="true"/> |
32 | 32 | <operations public="true" package="true" protected="true" private="true" static="true"/> |
33 | 33 | </display> |
34 | 34 | </class> |
35 | | - <interface id="4" language="java" name="com.iluwatar.reader.writer.lock.Lock" project="reader-writer-lock" |
36 | | - file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/Lock.java" binary="false" |
| 35 | + <class id="4" language="java" name="com.iluwatar.reader.writer.lock.Reader" project="reader-writer-lock" |
| 36 | + file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/Reader.java" binary="false" |
37 | 37 | corner="BOTTOM_RIGHT"> |
38 | | - <position height="101" width="148" x="322" y="597"/> |
| 38 | + <position height="-1" width="-1" x="944" y="109"/> |
39 | 39 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
40 | 40 | sort-features="false" accessors="true" visibility="true"> |
41 | 41 | <attributes public="true" package="true" protected="true" private="true" static="true"/> |
42 | 42 | <operations public="true" package="true" protected="true" private="true" static="true"/> |
43 | 43 | </display> |
44 | | - </interface> |
45 | | - <class id="5" language="java" name="com.iluwatar.reader.writer.lock.ReaderWriterLock.WriterLock" |
| 44 | + </class> |
| 45 | + <class id="5" language="java" name="com.iluwatar.reader.writer.lock.ReaderWriterLock.ReadLock" |
46 | 46 | project="reader-writer-lock" |
47 | 47 | file="/reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock/ReaderWriterLock.java" binary="false" |
48 | 48 | corner="BOTTOM_RIGHT"> |
49 | | - <position height="-1" width="-1" x="488" y="509"/> |
| 49 | + <position height="191" width="197" x="725" y="313"/> |
50 | 50 | <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
51 | 51 | sort-features="false" accessors="true" visibility="true"> |
52 | 52 | <attributes public="true" package="true" protected="true" private="true" static="true"/> |
53 | 53 | <operations public="true" package="true" protected="true" private="true" static="true"/> |
54 | 54 | </display> |
55 | 55 | </class> |
56 | 56 | <nesting id="6"> |
57 | | - <end type="SOURCE" refId="2"/> |
58 | | - <end type="TARGET" refId="5"/> |
| 57 | + <end type="SOURCE" refId="3"/> |
| 58 | + <end type="TARGET" refId="2"/> |
59 | 59 | </nesting> |
60 | | - <realization id="7"> |
61 | | - <end type="SOURCE" refId="5"/> |
62 | | - <end type="TARGET" refId="4"/> |
63 | | - </realization> |
64 | | - <realization id="8"> |
65 | | - <end type="SOURCE" refId="1"/> |
66 | | - <end type="TARGET" refId="4"/> |
67 | | - </realization> |
68 | | - <association id="9"> |
69 | | - <end type="SOURCE" refId="2" navigable="false"> |
70 | | - <attribute id="10" name="writeLock"/> |
71 | | - <multiplicity id="11" minimum="0" maximum="1"/> |
| 60 | + <association id="7"> |
| 61 | + <end type="SOURCE" refId="3" navigable="false"> |
| 62 | + <attribute id="8" name="writerLock"/> |
| 63 | + <multiplicity id="9" minimum="0" maximum="1"/> |
72 | 64 | </end> |
73 | | - <end type="TARGET" refId="5" navigable="true"/> |
| 65 | + <end type="TARGET" refId="2" navigable="true"/> |
74 | 66 | <display labels="true" multiplicity="true"/> |
75 | 67 | </association> |
76 | | - <association id="12"> |
77 | | - <end type="SOURCE" refId="2" navigable="false"> |
78 | | - <attribute id="13" name="readLock"/> |
79 | | - <multiplicity id="14" minimum="0" maximum="1"/> |
| 68 | + <association id="10"> |
| 69 | + <end type="SOURCE" refId="3" navigable="false"> |
| 70 | + <attribute id="11" name="readerLock"/> |
| 71 | + <multiplicity id="12" minimum="0" maximum="1"/> |
80 | 72 | </end> |
81 | | - <end type="TARGET" refId="1" navigable="true"/> |
| 73 | + <end type="TARGET" refId="5" navigable="true"/> |
82 | 74 | <display labels="true" multiplicity="true"/> |
83 | 75 | </association> |
84 | | - <nesting id="15"> |
85 | | - <end type="SOURCE" refId="2"/> |
86 | | - <end type="TARGET" refId="1"/> |
| 76 | + <nesting id="13"> |
| 77 | + <end type="SOURCE" refId="3"/> |
| 78 | + <end type="TARGET" refId="5"/> |
87 | 79 | </nesting> |
88 | 80 | <classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" |
89 | 81 | sort-features="false" accessors="true" visibility="true"> |
|
0 commit comments