其他分享
首页 > 其他分享> > 设计模式概览

设计模式概览

作者:互联网

一、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 访问者

标签:桥接,适配器,概览,Factory,模式,工厂,patterns,设计模式
来源: https://www.cnblogs.com/tjubuntu/p/15485018.html