目录
创建型模式:共5种 ................................................................ ................................ ........ 1
1. Abstract Factory(抽象工厂) ................................................................ ................. 1
2. Builder(生成器)................................................................ ................................ .. 2
3. Factory Method(工厂方法、简单工厂) ................................................................ 3
4.Prototype(原型) ................................................................ ................................ .. 4
5. Singleton(单件、单例) ................................................................ ....................... 5
结构型模式:共7种 ................................................................ ................................ ........ 5
1.Adapter(适配器) ................................................................ ................................ . 5
2. Bridge(桥接) ................................................................ ................................ ...... 6
3.Composite(组合) ................................................................ ................................ . 7
4. Decorator(装饰者) ................................................................ ............................. 8
5.Facade(外观、门面)................................................................ ............................ 9
6. Flyweight(享元)................................................................ ................................ 10
7. Proxy(代理) ................................................................ ................................ ..... 11
行为模式共11 种 ................................................................ ................................ ........... 11
1. Chain of Responsibility(职责链) ................................................................ ......... 12
2. Command(命令)................................................................ ............................... 12
3. Interpreter(解释器) ................................................................ .......................... 13
4.Iterator(迭代器)................................................................ ................................ 14
5. Mediator(中介者) ................................................................ ............................ 15
6.Memento(备忘录) ................................................................ ............................ 16
7. Observer(观察者)................................................................ ............................. 16
8. State(状态) ................................................................ ................................ ...... 17
9. Strategy(策略) ................................................................ ................................ . 18
10. Template Method(模板方法) ................................................................ ........... 19
11. Visitor(访问者)................................................................ ............................... 20
0
48
1.23MB
2012-11-28
0