设计模式概览

一、creational patterns 创建型模式

1.1 Abstract Factory 抽象工厂模式

1.2 Builder 建造者模式

1.3 Factory Method 工厂方法

1.4 Prototype 原型

1.5 Singleton 单例模式

二、structural patterns 结构型模式

2.1 Adapter 适配器模式

2.2 Bridge 桥接模式

2.3 Composite 组合模式

2.4 Decorator 装饰器模式

2.5 Facade 外观模式

2.6 Flyweight 享元模式

2.7 Proxy 代理模式

三、behavioral patterns 行为型模式

3.1 Chain of responsibility 职责链

3.2 Command 命令

3.3 Interpreter 解释器

3.4 Iterator 迭代器

3.5 Mediator 中介者

3.6 Memento 备忘录

3.7 Observer 观察者

3.8 State 状态

3.9 Strategy 策略

3.10 Template method 模板方法

3.11 Visitor 访问者

本文来自博客园,作者:草叶睡蜢,转载请注明原文链接:https://www.cnblogs.com/tjubuntu/p/15485018.html

原文地址:https://www.cnblogs.com/tjubuntu/p/15485018.html