Skip to content

Commit f96c323

Browse files
authored
Update README.md
1 parent f2ee31f commit f96c323

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

ProtoType/README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
### 简介
1+
### 简介
22

3-
通过 拷贝 *原型实例* 创建新的对象。原型模式通常用于对象的**复制**
3+
通过拷贝原型实例创建新对象。原型模式通常用于**复制对象**
44

5-
---
5+
---
66

7-
### 角色
7+
### 角色
88

99
* 原型类
10-
为具体原型类提供 浅拷贝 和 深拷贝 方法
11-
* 具体原型类
12-
继承原型类
13-
14-
---
15-
16-
### UML类图
10+
为具体原型类提供**浅拷贝****深拷贝**方法
1711

18-
![prototype.png](http://images.timd.cn/design-pattern/prototype.png)
12+
* 具体原型类
13+
继承原型类

0 commit comments

Comments
 (0)