vault backup: 2022-06-21 16:05:48

Affected files:
.obsidian/workspace
02. PARA/03. Resources(資源)/Design Pattern.md
This commit is contained in:
2022-06-21 16:05:49 +08:00
parent 81b4684d04
commit 517a8429a8
2 changed files with 9 additions and 6 deletions

View File

@@ -142,3 +142,6 @@ detach() 用來移除用戶,也可以叫做 unregister()、remove() 之類。
notify()則是當發生變化時,用來通知所有觀察者的實作。
觀察者方面必須實作 update() 才能收到通知。
## 裝飾者模式Decorator Pattern
由「裝飾者」