Skip to content

Commit 11bd651

Browse files
committed
Future接口及其实现类的类关系
1 parent 34ef3c2 commit 11bd651

1 file changed

Lines changed: 101 additions & 0 deletions

File tree

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.1.6" icons="true" always-add-relationships="false" generalizations="true" realizations="true"
3+
associations="true" dependencies="false" nesting-relationships="true">
4+
<interface id="1" language="java" name="java.util.concurrent.Future" project="JavaDemo"
5+
file="/devdata/java/jdk/jdk1.7.0_60/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT">
6+
<position height="-1" width="-1" x="334" y="85"/>
7+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
8+
visibility="true">
9+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
10+
<operations public="true" package="true" protected="false" private="false" static="false"/>
11+
</display>
12+
</interface>
13+
<class id="2" language="java" name="java.util.concurrent.FutureTask" project="JavaDemo"
14+
file="/devdata/java/jdk/jdk1.7.0_60/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT">
15+
<position height="-1" width="-1" x="521" y="477"/>
16+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
17+
visibility="true">
18+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
19+
<operations public="true" package="true" protected="false" private="false" static="false"/>
20+
</display>
21+
</class>
22+
<interface id="3" language="java" name="java.util.concurrent.RunnableFuture" project="JavaDemo"
23+
file="/devdata/java/jdk/jdk1.7.0_60/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT">
24+
<position height="-1" width="-1" x="521" y="280"/>
25+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
26+
visibility="true">
27+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
28+
<operations public="true" package="true" protected="false" private="false" static="false"/>
29+
</display>
30+
</interface>
31+
<interface id="4" language="java" name="java.util.concurrent.RunnableScheduledFuture" project="JavaDemo"
32+
file="/devdata/java/jdk/jdk1.7.0_60/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT">
33+
<position height="-1" width="-1" x="130" y="410"/>
34+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
35+
visibility="true">
36+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
37+
<operations public="true" package="true" protected="false" private="false" static="false"/>
38+
</display>
39+
</interface>
40+
<interface id="5" language="java" name="java.util.concurrent.ScheduledFuture" project="JavaDemo"
41+
file="/devdata/java/jdk/jdk1.7.0_60/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT">
42+
<position height="-1" width="-1" x="131" y="272"/>
43+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
44+
visibility="true">
45+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
46+
<operations public="true" package="true" protected="false" private="false" static="false"/>
47+
</display>
48+
</interface>
49+
<interface id="6" language="java" name="java.util.concurrent.Delayed" project="JavaDemo"
50+
file="/devdata/java/jdk/jdk1.7.0_60/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT">
51+
<position height="-1" width="-1" x="131" y="119"/>
52+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
53+
visibility="true">
54+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
55+
<operations public="true" package="true" protected="false" private="false" static="false"/>
56+
</display>
57+
</interface>
58+
<interface id="7" language="java" name="java.lang.Runnable" project="JavaDemo"
59+
file="/devdata/java/jdk/jdk1.7.0_60/jre/lib/rt.jar" binary="true" corner="BOTTOM_RIGHT">
60+
<position height="-1" width="-1" x="521" y="119"/>
61+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
62+
visibility="true">
63+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
64+
<operations public="true" package="true" protected="false" private="false" static="false"/>
65+
</display>
66+
</interface>
67+
<generalization id="8">
68+
<end type="SOURCE" refId="4"/>
69+
<end type="TARGET" refId="5"/>
70+
</generalization>
71+
<generalization id="9">
72+
<end type="SOURCE" refId="3"/>
73+
<end type="TARGET" refId="7"/>
74+
</generalization>
75+
<generalization id="10">
76+
<end type="SOURCE" refId="4"/>
77+
<end type="TARGET" refId="3"/>
78+
</generalization>
79+
<generalization id="11">
80+
<end type="SOURCE" refId="5"/>
81+
<end type="TARGET" refId="6"/>
82+
</generalization>
83+
<generalization id="12">
84+
<end type="SOURCE" refId="5"/>
85+
<end type="TARGET" refId="1"/>
86+
</generalization>
87+
<generalization id="13">
88+
<end type="SOURCE" refId="3"/>
89+
<end type="TARGET" refId="1"/>
90+
</generalization>
91+
<realization id="14">
92+
<end type="SOURCE" refId="2"/>
93+
<end type="TARGET" refId="3"/>
94+
</realization>
95+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
96+
accessors="true" visibility="true">
97+
<attributes public="false" package="true" protected="false" private="false" static="false"/>
98+
<operations public="true" package="true" protected="false" private="false" static="false"/>
99+
</classifier-display>
100+
<association-display labels="true" multiplicity="true"/>
101+
</class-diagram>

0 commit comments

Comments
 (0)