Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 824e8ef

Browse files
author
张利君
committed
策略模式完成
1 parent 8b66f9a commit 824e8ef

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)

AltStyle によって変換されたページ (->オリジナル) /