Skip to content

Commit

Permalink
修改享元模式通用类图
Browse files Browse the repository at this point in the history
  • Loading branch information
nivance committed Jan 31, 2015
1 parent 5084a7c commit 29073f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
Binary file added src/dp/com/company/flyweight/flyweight.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/dp/com/company/flyweight/flyweight.jpg
Binary file not shown.
23 changes: 12 additions & 11 deletions src/dp/com/company/flyweight/section3/flyweight.ucls
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,18 @@
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="3" language="java" name="com.company.flyweight.section3.ConcreteFlyweight1" project="DPModel"
file="/DPModel/src/dp/com/company/flyweight/section3/ConcreteFlyweight1.java" binary="false" corner="BOTTOM_RIGHT">
<class id="3" language="java" name="com.company.flyweight.section3.ConcreteFlyweight" project="DPModel"
file="/DPModel/src/dp/com/company/flyweight/section3/ConcreteFlyweight.java" binary="false" corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="109" y="356"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
<operations public="true" package="true" protected="true" private="true" static="true"/>
</display>
</class>
<class id="4" language="java" name="com.company.flyweight.section3.ConcreteFlyweight2" project="DPModel"
file="/DPModel/src/dp/com/company/flyweight/section3/ConcreteFlyweight2.java" binary="false" corner="BOTTOM_RIGHT">
<class id="4" language="java" name="com.company.flyweight.section3.UnshareConcreteFlyweight" project="DPModel"
file="/DPModel/src/dp/com/company/flyweight/section3/UnshareConcreteFlyweight.java" binary="false"
corner="BOTTOM_RIGHT">
<position height="-1" width="-1" x="351" y="357"/>
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" accessors="true"
visibility="true">
Expand All @@ -38,21 +39,21 @@
</display>
</class>
<generalization id="5">
<end type="SOURCE" refId="3"/>
<end type="TARGET" refId="1"/>
</generalization>
<generalization id="6">
<end type="SOURCE" refId="4"/>
<end type="TARGET" refId="1"/>
</generalization>
<association id="7">
<association id="6">
<end type="SOURCE" refId="2" navigable="false">
<attribute id="8" name="pool"/>
<multiplicity id="9" minimum="0" maximum="2147483647"/>
<attribute id="7" name="pool"/>
<multiplicity id="8" minimum="0" maximum="2147483647"/>
</end>
<end type="TARGET" refId="1" navigable="true"/>
<display labels="true" multiplicity="true"/>
</association>
<generalization id="9">
<end type="SOURCE" refId="3"/>
<end type="TARGET" refId="1"/>
</generalization>
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
accessors="true" visibility="true">
<attributes public="true" package="true" protected="true" private="true" static="true"/>
Expand Down

0 comments on commit 29073f8

Please sign in to comment.