auto commit
This commit is contained in:
parent
87abdf55bc
commit
96176d6261
|
@ -130,7 +130,7 @@ public class Music {
|
|||
|
||||
用来描述继承关系,在 Java 中使用 extends 关键字。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/SoWkIImgAStDuU8goIp9ILLmJyrBBKh.png"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/c0874e0a-dba3-467e-9c86-dd9313e0843e.jpg" width="180px"> </div><br>
|
||||
|
||||
```text
|
||||
@startuml
|
||||
|
@ -151,7 +151,7 @@ Vihical <|-- Trunck
|
|||
|
||||
用来实现一个接口,在 Java 中使用 implements 关键字。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/SoWkIImgAStDuU8goIp9ILK8IatCoQn.png"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/83d466bd-946b-4430-854a-cf7b0696d4c8.jpg" width="170px"> </div><br>
|
||||
|
||||
```text
|
||||
@startuml
|
||||
|
@ -172,7 +172,7 @@ MoveBehavior <|.. Run
|
|||
|
||||
表示整体由部分组成,但是整体和部分不是强依赖的,整体不存在了部分还是会存在。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/SoWkIImgAStDuU8goIp9ILLmJ4ylIar.png"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/a0ce43b7-afa8-4397-a96e-5c12a070f2ae.jpg" width="300px"> </div><br>
|
||||
|
||||
```text
|
||||
@startuml
|
||||
|
@ -195,7 +195,7 @@ Computer o-- Screen
|
|||
|
||||
和聚合不同,组合中整体和部分是强依赖的,整体不存在了部分也不存在了。比如公司和部门,公司没了部门就不存在了。但是公司和员工就属于聚合关系了,因为公司没了员工还在。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/SoWkIImgAStDuU8goIp9ILLmpiyjo2_.png"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/6a88a398-c494-41f5-bb62-9f7fb811df7c.jpg" width="280px"> </div><br>
|
||||
|
||||
```text
|
||||
@startuml
|
||||
|
@ -216,7 +216,7 @@ Company *-- DepartmentB
|
|||
|
||||
表示不同类对象之间有关联,这是一种静态关系,与运行过程的状态无关,在最开始就可以确定。因此也可以用 1 对 1、多对 1、多对多这种关联关系来表示。比如学生和学校就是一种关联关系,一个学校可以有很多学生,但是一个学生只属于一个学校,因此这是一种多对一的关系,在运行开始之前就可以确定。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/SoWkIImgAStDuU8goIp9ILLmB2xEJyv.png"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/a3e4dc62-0da5-4d22-94f2-140078281812.jpg" width="200px"> </div><br>
|
||||
|
||||
```text
|
||||
@startuml
|
||||
|
@ -239,7 +239,7 @@ School "1" - "n" Student
|
|||
- A 类是 B 类方法当中的一个参数;
|
||||
- A 类向 B 类发送消息,从而影响 B 类发生变化。
|
||||
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/LOun2W9134NxVugmbJPp15d4LalxC4O.png"/> </div><br>
|
||||
<div align="center"> <img src="https://gitee.com/CyC2018/CS-Notes/raw/master/docs/pics/379444c9-f1d1-45cd-b7aa-b0c18427d388.jpg" width="330px"> </div><br>
|
||||
|
||||
```text
|
||||
@startuml
|
||||
|
|
BIN
docs/pics/379444c9-f1d1-45cd-b7aa-b0c18427d388.jpg
Normal file
BIN
docs/pics/379444c9-f1d1-45cd-b7aa-b0c18427d388.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
BIN
docs/pics/6a88a398-c494-41f5-bb62-9f7fb811df7c.jpg
Normal file
BIN
docs/pics/6a88a398-c494-41f5-bb62-9f7fb811df7c.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
docs/pics/83d466bd-946b-4430-854a-cf7b0696d4c8.jpg
Normal file
BIN
docs/pics/83d466bd-946b-4430-854a-cf7b0696d4c8.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
BIN
docs/pics/a0ce43b7-afa8-4397-a96e-5c12a070f2ae.jpg
Normal file
BIN
docs/pics/a0ce43b7-afa8-4397-a96e-5c12a070f2ae.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
BIN
docs/pics/a3e4dc62-0da5-4d22-94f2-140078281812.jpg
Normal file
BIN
docs/pics/a3e4dc62-0da5-4d22-94f2-140078281812.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
docs/pics/c0874e0a-dba3-467e-9c86-dd9313e0843e.jpg
Normal file
BIN
docs/pics/c0874e0a-dba3-467e-9c86-dd9313e0843e.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue
Block a user