File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 39
39
| [ 工厂方法模式] ( factory-method/AigeStudio ) | [ AigeStudio] ( https://github.com/AigeStudio ) | 撒丫子赶稿中 |
40
40
| [ 抽象工厂模式] ( abstract-factory/AigeStudio ) | [ AigeStudio] ( https://github.com/AigeStudio ) | 撒丫子赶稿中 |
41
41
| [ 状态模式] ( state/Thinan ) | [ Thinan] ( https://www.github.com/Thinan ) | 撒丫子赶稿中 |
42
- | [ 命令模式] ( Command /lijunhuayc) | [ lijunhuayc] ( https://github.com/lijunhuayc ) | 匍匐前进ing |
42
+ | [ 命令模式] ( command /lijunhuayc) | [ lijunhuayc] ( https://github.com/lijunhuayc ) | 待审核 |
43
43
| [ 桥接模式] ( bridge/shen0834 ) | [ shen0834] ( https://github.com/shen0834 ) | 撒丫子赶稿中 |
44
44
| [ 原型模式] ( prototype/mr.simple ) | [ Mr.Simple] ( https://github.com/bboyfeiyu ) | 待审核 |
45
45
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ Android设计模式源码解析之命令模式
21
21
4.系统需要将一组操作组合在一起,即支持宏命令。
22
22
23
23
## 2. UML类图
24
- ![ url] ( images/lijunhuayc_uml.png )
24
+ ![ UML类图] ( images/lijunhuayc_uml.png )
25
+
25
26
26
27
### 角色介绍
27
28
* 命令角色(Command):定义命令的接口,声明具体命令类需要执行的方法。这是一个抽象角色。
@@ -310,7 +311,7 @@ Android设计模式源码解析之命令模式
310
311
```
311
312
312
313
输出结果如下:
313
- ![ result ] ( images/lijunhuayc_result.png )
314
+ ![ 运行结果图 ] ( images/lijunhuayc_result.png )
314
315
315
316
### 总结
316
317
*每一个命令都是一个操作:请求的一方发出请求,要求执行一个操作;接收的一方收到请求,并执行操作。
You can’t perform that action at this time.
0 commit comments