Skip to content

Commit b6115b4

Browse files
authored
UML is always useful
1 parent 9e01159 commit b6115b4

File tree

4 files changed

+735
-0
lines changed

4 files changed

+735
-0
lines changed

uml_diagrams/DoubleLinkedList.ucls

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.2.4" icons="true" always-add-relationships="true" generalizations="true" realizations="true"
3+
associations="true" dependencies="true" nesting-relationships="true" router="FAN">
4+
<class id="1" language="java" name="util.Node" project="textEd" file="/textEd/src/util/Node.java" binary="false"
5+
corner="BOTTOM_RIGHT">
6+
<position height="-1" width="-1" x="612" y="136"/>
7+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
8+
sort-features="false" accessors="true" visibility="true">
9+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
10+
<operations public="true" package="true" protected="true" private="true" static="true"/>
11+
</display>
12+
</class>
13+
<class id="2" language="java" name="textEditor.LineItem" project="textEd" file="/textEd/src/textEditor/LineItem.java"
14+
binary="false" corner="BOTTOM_RIGHT">
15+
<position height="207" width="126" x="42" y="37"/>
16+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
17+
sort-features="false" accessors="true" visibility="true">
18+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
19+
<operations public="true" package="true" protected="true" private="true" static="true"/>
20+
</display>
21+
</class>
22+
<interface id="3" language="java" name="util.Item" project="textEd" file="/textEd/src/util/Item.java" binary="false"
23+
corner="BOTTOM_RIGHT">
24+
<position height="-1" width="-1" x="618" y="549"/>
25+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
26+
sort-features="false" accessors="true" visibility="true">
27+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
28+
<operations public="true" package="true" protected="true" private="true" static="true"/>
29+
</display>
30+
</interface>
31+
<class id="4" language="java" name="textEditor.Line" project="textEd" file="/textEd/src/textEditor/Line.java"
32+
binary="false" corner="BOTTOM_RIGHT">
33+
<position height="-1" width="-1" x="103" y="372"/>
34+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
35+
sort-features="false" accessors="true" visibility="true">
36+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
37+
<operations public="true" package="true" protected="true" private="true" static="true"/>
38+
</display>
39+
</class>
40+
<class id="5" language="java" name="util.List" project="textEd" file="/textEd/src/util/List.java" binary="false"
41+
corner="BOTTOM_RIGHT">
42+
<position height="423" width="132" x="240" y="37"/>
43+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
44+
sort-features="false" accessors="true" visibility="true">
45+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
46+
<operations public="true" package="true" protected="true" private="true" static="true"/>
47+
</display>
48+
</class>
49+
<class id="6" language="java" name="Files.FileOps" project="textEd" file="/textEd/src/Files/FileOps.java"
50+
binary="false" corner="BOTTOM_RIGHT">
51+
<position height="-1" width="-1" x="1214" y="175"/>
52+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
53+
sort-features="false" accessors="true" visibility="true">
54+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
55+
<operations public="true" package="true" protected="true" private="true" static="true"/>
56+
</display>
57+
</class>
58+
<association id="7">
59+
<end type="SOURCE" refId="2" navigable="false">
60+
<attribute id="8" name="line"/>
61+
<multiplicity id="9" minimum="0" maximum="1"/>
62+
</end>
63+
<end type="TARGET" refId="4" navigable="true"/>
64+
<display labels="true" multiplicity="true"/>
65+
</association>
66+
<realization id="10">
67+
<bendpoint x="32" y="500"/>
68+
<end type="SOURCE" refId="2"/>
69+
<end type="TARGET" refId="3"/>
70+
</realization>
71+
<dependency id="11">
72+
<end type="SOURCE" refId="6"/>
73+
<end type="TARGET" refId="3"/>
74+
</dependency>
75+
<dependency id="12">
76+
<end type="SOURCE" refId="6"/>
77+
<end type="TARGET" refId="2"/>
78+
</dependency>
79+
<dependency id="13">
80+
<end type="SOURCE" refId="6"/>
81+
<end type="TARGET" refId="1"/>
82+
</dependency>
83+
<association id="14">
84+
<end type="SOURCE" refId="5" navigable="false">
85+
<attribute id="15" name="head"/>
86+
<multiplicity id="16" minimum="0" maximum="1"/>
87+
</end>
88+
<end type="TARGET" refId="1" navigable="true"/>
89+
<display labels="true" multiplicity="true"/>
90+
</association>
91+
<association id="17">
92+
<end type="SOURCE" refId="1" navigable="false">
93+
<attribute id="18" name="next"/>
94+
<multiplicity id="19" minimum="0" maximum="1"/>
95+
</end>
96+
<end type="TARGET" refId="1" navigable="true"/>
97+
<display labels="true" multiplicity="true"/>
98+
</association>
99+
<association id="20">
100+
<end type="SOURCE" refId="1" navigable="false">
101+
<attribute id="21" name="prev"/>
102+
<multiplicity id="22" minimum="0" maximum="1"/>
103+
</end>
104+
<end type="TARGET" refId="1" navigable="true"/>
105+
<display labels="true" multiplicity="true"/>
106+
</association>
107+
<association id="23">
108+
<end type="SOURCE" refId="1" navigable="false">
109+
<attribute id="24" name="data"/>
110+
<multiplicity id="25" minimum="0" maximum="1"/>
111+
</end>
112+
<end type="TARGET" refId="3" navigable="true"/>
113+
<display labels="true" multiplicity="true"/>
114+
</association>
115+
<dependency id="26">
116+
<end type="SOURCE" refId="5"/>
117+
<end type="TARGET" refId="4"/>
118+
</dependency>
119+
<association id="27">
120+
<end type="SOURCE" refId="6" navigable="false">
121+
<attribute id="28" name="lList"/>
122+
<multiplicity id="29" minimum="0" maximum="1"/>
123+
</end>
124+
<end type="TARGET" refId="5" navigable="true"/>
125+
<display labels="true" multiplicity="true"/>
126+
</association>
127+
<dependency id="30">
128+
<end type="SOURCE" refId="6"/>
129+
<end type="TARGET" refId="4"/>
130+
</dependency>
131+
<association id="31">
132+
<end type="SOURCE" refId="5" navigable="false">
133+
<attribute id="32" name="tail"/>
134+
<multiplicity id="33" minimum="0" maximum="1"/>
135+
</end>
136+
<end type="TARGET" refId="1" navigable="true"/>
137+
<display labels="true" multiplicity="true"/>
138+
</association>
139+
<dependency id="34">
140+
<bendpoint x="424" y="500"/>
141+
<end type="SOURCE" refId="5"/>
142+
<end type="TARGET" refId="3"/>
143+
</dependency>
144+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
145+
sort-features="false" accessors="true" visibility="true">
146+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
147+
<operations public="true" package="true" protected="true" private="true" static="true"/>
148+
</classifier-display>
149+
<association-display labels="true" multiplicity="true"/>
150+
</class-diagram>

uml_diagrams/first_part.ucls

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.2.4" icons="true" always-add-relationships="true" generalizations="true" realizations="false"
3+
associations="true" dependencies="false" nesting-relationships="true" router="FAN">
4+
<class id="1" language="java" name="Files.FileOps" project="textEd" file="/textEd/src/Files/FileOps.java"
5+
binary="false" corner="BOTTOM_RIGHT">
6+
<position height="297" width="176" x="268" y="212"/>
7+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
8+
sort-features="false" accessors="true" visibility="true">
9+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
10+
<operations public="true" package="true" protected="true" private="true" static="true"/>
11+
</display>
12+
</class>
13+
<class id="2" language="java" name="util.Node" project="textEd" file="/textEd/src/util/Node.java" binary="false"
14+
corner="BOTTOM_RIGHT">
15+
<position height="207" width="134" x="426" y="1012"/>
16+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
17+
sort-features="false" accessors="true" visibility="true">
18+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
19+
<operations public="true" package="true" protected="true" private="true" static="true"/>
20+
</display>
21+
</class>
22+
<class id="3" language="java" name="textEditor.LineItem" project="textEd" file="/textEd/src/textEditor/LineItem.java"
23+
binary="false" corner="BOTTOM_RIGHT">
24+
<position height="207" width="126" x="41" y="549"/>
25+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
26+
sort-features="false" accessors="true" visibility="true">
27+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
28+
<operations public="true" package="true" protected="true" private="true" static="true"/>
29+
</display>
30+
</class>
31+
<interface id="4" language="java" name="util.Item" project="textEd" file="/textEd/src/util/Item.java" binary="false"
32+
corner="BOTTOM_RIGHT">
33+
<position height="171" width="126" x="426" y="1279"/>
34+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
35+
sort-features="false" accessors="true" visibility="true">
36+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
37+
<operations public="true" package="true" protected="true" private="true" static="true"/>
38+
</display>
39+
</interface>
40+
<class id="5" language="java" name="textEditor.Line" project="textEd" file="/textEd/src/textEditor/Line.java"
41+
binary="false" corner="BOTTOM_RIGHT">
42+
<position height="171" width="137" x="188" y="1012"/>
43+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
44+
sort-features="false" accessors="true" visibility="true">
45+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
46+
<operations public="true" package="true" protected="true" private="true" static="true"/>
47+
</display>
48+
</class>
49+
<class id="6" language="java" name="textEditor.Main" project="textEd" file="/textEd/src/textEditor/Main.java"
50+
binary="false" corner="BOTTOM_RIGHT">
51+
<position height="135" width="378" x="465" y="37"/>
52+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
53+
sort-features="false" accessors="true" visibility="true">
54+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
55+
<operations public="true" package="true" protected="true" private="true" static="true"/>
56+
</display>
57+
</class>
58+
<class id="7" language="java" name="util.Word" project="textEd" file="/textEd/src/util/Word.java" binary="false"
59+
corner="BOTTOM_RIGHT">
60+
<position height="207" width="137" x="228" y="549"/>
61+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
62+
sort-features="false" accessors="true" visibility="true">
63+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
64+
<operations public="true" package="true" protected="true" private="true" static="true"/>
65+
</display>
66+
</class>
67+
<class id="8" language="java" name="util.List" project="textEd" file="/textEd/src/util/List.java" binary="false"
68+
corner="BOTTOM_RIGHT">
69+
<position height="423" width="132" x="447" y="549"/>
70+
<display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
71+
sort-features="false" accessors="true" visibility="true">
72+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
73+
<operations public="true" package="true" protected="true" private="true" static="true"/>
74+
</display>
75+
</class>
76+
<association id="9">
77+
<end type="SOURCE" refId="2" navigable="false">
78+
<attribute id="10" name="prev"/>
79+
<multiplicity id="11" minimum="0" maximum="1"/>
80+
</end>
81+
<end type="TARGET" refId="2" navigable="true"/>
82+
<display labels="true" multiplicity="true"/>
83+
</association>
84+
<dependency id="12">
85+
<bendpoint x="395" y="549"/>
86+
<bendpoint x="408" y="1243"/>
87+
<end type="SOURCE" refId="1"/>
88+
<end type="TARGET" refId="4"/>
89+
</dependency>
90+
<dependency id="13">
91+
<end type="SOURCE" refId="6"/>
92+
<end type="TARGET" refId="1"/>
93+
</dependency>
94+
<association id="14">
95+
<end type="SOURCE" refId="1" navigable="false">
96+
<attribute id="15" name="lList"/>
97+
<multiplicity id="16" minimum="0" maximum="1"/>
98+
</end>
99+
<end type="TARGET" refId="8" navigable="true"/>
100+
<display labels="true" multiplicity="true"/>
101+
</association>
102+
<dependency id="17">
103+
<bendpoint x="610" y="1012"/>
104+
<end type="SOURCE" refId="8"/>
105+
<end type="TARGET" refId="4"/>
106+
</dependency>
107+
<realization id="18">
108+
<bendpoint x="97" y="1206"/>
109+
<end type="SOURCE" refId="3"/>
110+
<end type="TARGET" refId="4"/>
111+
</realization>
112+
<association id="19">
113+
<end type="SOURCE" refId="3" navigable="false">
114+
<attribute id="20" name="line"/>
115+
<multiplicity id="21" minimum="0" maximum="1"/>
116+
</end>
117+
<end type="TARGET" refId="5" navigable="true"/>
118+
<display labels="true" multiplicity="true"/>
119+
</association>
120+
<dependency id="22">
121+
<bendpoint x="197" y="549"/>
122+
<end type="SOURCE" refId="1"/>
123+
<end type="TARGET" refId="5"/>
124+
</dependency>
125+
<dependency id="23">
126+
<end type="SOURCE" refId="1"/>
127+
<end type="TARGET" refId="3"/>
128+
</dependency>
129+
<dependency id="24">
130+
<bendpoint x="795" y="702"/>
131+
<end type="SOURCE" refId="1"/>
132+
<end type="TARGET" refId="2"/>
133+
</dependency>
134+
<association id="25">
135+
<end type="SOURCE" refId="2" navigable="false">
136+
<attribute id="26" name="data"/>
137+
<multiplicity id="27" minimum="0" maximum="1"/>
138+
</end>
139+
<end type="TARGET" refId="4" navigable="true"/>
140+
<display labels="true" multiplicity="true"/>
141+
</association>
142+
<association id="28">
143+
<end type="SOURCE" refId="8" navigable="false">
144+
<attribute id="29" name="tail"/>
145+
<multiplicity id="30" minimum="0" maximum="1"/>
146+
</end>
147+
<end type="TARGET" refId="2" navigable="true"/>
148+
<display labels="true" multiplicity="true"/>
149+
</association>
150+
<dependency id="31">
151+
<end type="SOURCE" refId="1"/>
152+
<end type="TARGET" refId="7"/>
153+
</dependency>
154+
<dependency id="32">
155+
<bendpoint x="474" y="212"/>
156+
<end type="SOURCE" refId="6"/>
157+
<end type="TARGET" refId="8"/>
158+
</dependency>
159+
<association id="33">
160+
<end type="SOURCE" refId="2" navigable="false">
161+
<attribute id="34" name="next"/>
162+
<multiplicity id="35" minimum="0" maximum="1"/>
163+
</end>
164+
<end type="TARGET" refId="2" navigable="true"/>
165+
<display labels="true" multiplicity="true"/>
166+
</association>
167+
<dependency id="36">
168+
<end type="SOURCE" refId="8"/>
169+
<end type="TARGET" refId="5"/>
170+
</dependency>
171+
<association id="37">
172+
<end type="SOURCE" refId="8" navigable="false">
173+
<attribute id="38" name="head"/>
174+
<multiplicity id="39" minimum="0" maximum="1"/>
175+
</end>
176+
<end type="TARGET" refId="2" navigable="true"/>
177+
<display labels="true" multiplicity="true"/>
178+
</association>
179+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="true" signature="true"
180+
sort-features="false" accessors="true" visibility="true">
181+
<attributes public="false" package="false" protected="false" private="false" static="true"/>
182+
<operations public="false" package="false" protected="false" private="false" static="true"/>
183+
</classifier-display>
184+
<association-display labels="true" multiplicity="true"/>
185+
</class-diagram>

0 commit comments

Comments
 (0)