四巨头GoF的《设计模式》中23种设计模式的UML图 - 2 of 4
来源:互联网 发布:软件设计师教程txt 编辑:程序博客网 时间:2024/06/16 02:17
INTENTS AND DIAGRAMS OF 23 DESIGN PATTERNS
1: DOTV
2: PAMIB
3: SFC
*Decorator: A DECORATOR attaches additional responsibilities to a COMPONENT dynamically. DECORATORS provide a flexible alternative to subclassing for extending the COMPONENT’s functionality.
CCOR
7. Extending functionality by subclassing.
8. Inability to alter classes conveniently.
*Observer: Define a one-to-many dependency between one SUBJECT and many OBSERVERS so that when one SUBJECT changes state, all its dependent OBSERVERS are notified and updated automatically.
CCOR
CCOR
6. Tight coupling.
7. Extending functionality by subclassing.
7. Extending functionality by subclassing.
*Template Method: Define the skeleton of an algorithm in a template method of an ABSTRACT CLASS, deferring some steps to CONCRETE SUBCLASSES. Template Method lets subclassed CONCRETE CLASSES redefine certain steps of an algorithm defined in parent ABSTRACT CLASS without changing the algorithm's structure.
CCOR
5. Algorithmic dependencies.
5. Algorithmic dependencies.
Visitor: A VISITOR encapsulates operations to be performed on the ELEMENTS of an OBJECT STRUCTURE. VISITOR lets you define a new operation without changing the classes of the elements on which it operates.
CCOR:
5. Algorithmic dependencies.
8. Inability to alter classes conveniently.
8. Inability to alter classes conveniently.
- 四巨头GoF的《设计模式》中23种设计模式的UML图 - 2 of 4
- 四巨头GoF的《设计模式》中23种设计模式的UML图 - 4 of 4
- 四巨头GoF的《设计模式》中23种设计模式的UML图 - 1 of 4
- 四巨头GoF的《设计模式》中23种设计模式的UML图 - 3 of 4
- GoF的设计模式
- GoF的23种设计模式名称
- 戏说GOF的23种设计模式
- GoF的23种设计模式
- GoF设计模式的概括
- GoF设计模式的分类:
- GOF 23个基本的设计模式
- GOF 23个基本的设计模式
- GoF的23个经典设计模式
- GoF 的23个经典设计模式
- GoF著作中未提到的设计模式(2):Interceptor
- GOF设计模式---23种
- GOF 23种设计模式
- GoF+23种设计模式
- c++ 大数类 大数模板
- Linux套接字
- 元数据驱动的应用程序设计和开发
- android 屏幕保持唤醒 不锁屏 android.permission.WAKE_LOCK
- SharePoint 2013 中开发可以被标记为未读和已读的列表之代码实现篇
- 四巨头GoF的《设计模式》中23种设计模式的UML图 - 2 of 4
- onSaveInstanceState和onRestoreInstanceState触发的时机
- mysql取系统当前时间的函数
- Linux CPU affinity
- linux c定位读取数据pread
- 键盘的各种类型
- ubuntu 12.04 apache2利用gnupg安装配置及加密邮件示例
- poj_1068_Parencodings_解题报告
- syscall - 间接系统调用