8000 Merge pull request #109 from zhanglijun1217/pr/20190102_observer_model · coderhxt/JavaGuide@bdbea61 · GitHub
[go: up one dir, main page]

Skip to content

Commit bdbea61

Browse files
authored
Merge pull request Snailclimb#109 from zhanglijun1217/pr/20190102_observer_model
策略模式完成
2 parents cb9fc3b + 824e8ef commit bdbea61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Java相关/设计模式.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@
116116

117117
- **状态模式:**
118118
- **策略模式:**
119+
120+
策略模式作为设计原则中开闭原则最典型的体现,也是经常使用的。下面这篇博客介绍了策略模式一般的组成部分和概念,并用了一个小demo去说明了策略模式的应用。
121+
122+
[java设计模式之策略模式](https://blog.csdn.net/zlj1217/article/details/81230077)
123+
119124
- **模板方法模式:**
120125
- **访问者模式:**
121126

0 commit comments

Comments
 (0)
0