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 8b66f9a

Browse files
author
张利君
committed
观察者模式
1 parent 3dc5234 commit 8b66f9a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎Java相关/设计模式.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
- **职责链模式:**
9898

9999
[Java设计模式之责任链模式、职责链模式](https://blog.csdn.net/jason0539/article/details/45091639)
100-
100+
101101
[责任链模式实现的三种方式](https://www.cnblogs.com/lizo/p/7503862.html)
102102

103103
- **命令模式:**
@@ -109,6 +109,11 @@
109109
- **中介者模式:**
110110
- **备忘录模式:**
111111
- **观察者模式:**
112+
113+
观察者模式也是非常常用的设计模式,下面这个博客简单介绍了观察者模式的简单定义、解决了一个什么问题,用一个气象站和气象看板的例子去描述一对多的关系中观察者模式的应用,并且还介绍了jdk内置的观察者模式接口。
114+
115+
[java设计模式之观察者模式](https://zhanglijun1217.github.io/blog/2018/12/24/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F%E2%80%94%E2%80%94%E8%A7%82%E5%AF%9F%E8%80%85%E6%A8%A1%E5%BC%8F-md/)
116+
112117
- **状态模式:**
113118
- **策略模式:**
114119
- **模板方法模式:**

0 commit comments

Comments
(0)

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