`

常见的结构模式

 
阅读更多

1. Creational Patterns (构建模式)

  1. Singleton (单例模式)
  2. Factory (工厂模式)
  3. Abstract Factory (抽象工厂)
  4. Builder (创建模式)
  5. Prototype (原型模式)

2. Structural Patterns (结构化模式)

  1. Adapter (适配器模式)
  2. Bridge (桥模式)
  3. Composite (复合模式)
  4. Decorator (装饰模式)
  5. Facade (门面模式)
  6. Flyweight (享元模式)
  7. Proxy (代理模式)

3. Behavioral Pattern (行为模式)

  1. Chain Of Responsibility (职责链模式)
  2. Command (命令模式)
  3. Interpreter (解释器模式)
  4. Iterator (迭代器模式)
  5. Mediator (中介者模式)
  6. Memento (备忘录模式)
  7. Observer (观察者模式)
  8. State (状态模式)
  9. Strategy (策略模式)
  10. Template Method (模板方法)
  11. Visitor (访问者模式)
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics