设计模式分类 中英对照

常见设计模式分为3个类别:创建型模式、结构型模式和行为型模式。

 

“创建性”关心对象的创建过程;

“结构性”涉及类和对象的组成;

“行为性”刻画了类和对象交互及分配职责的方式。

创建型模式Creational Pattern
工厂方法模式(Factory Method
抽象工厂模式(Abstract Factory
单实例模式(Singleton
构造器模式(Builder
原型模式(Prototype

结构型模式Structural Pattern
适配器模式(Adapter
桥模式(Bridge
组合模式(Composite
装饰者模式(Decorator
外观模式(Facade
享元模式(Flyweight
代理模式(Proxy

行为型模式Behavioral Pattern
职责链模式(Chain of Responsibility
命令模式(Command
迭代器模式(Iterator
中介者模式(Mediator
备忘录模式(Memento
观察者模式(Observer
状态模式(State
策略模式(Strategy
模板方法模式(Template Method
解释器模式(Interpreter
访问者模式(Visitor

 

你可能感兴趣的:(设计模式分类 中英对照)