设计模式总结

一、创建型模式

  1. 单例模式(Singleton)(非23种设计模式)
  2. 简单工厂模式(Simple Factory)
  3. 工厂方法模式(Factory Method)
  4. 抽象工厂模式(Abstract Factory)
  5. 原型模式(Prototype)
  6. 创建者模式(Builder)

二、结构型模式

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

三、行为型模式

  1. 策略模式(Strategy)
  2. 迭代器模式(Iterator)
  3. 模板方法模式(Template Method)
  4. 中介者模式(Mediator)
  5. 访问者模式(Visitor)
  6. 职责链模式(Chain of Responsibility)
  7. 状态模式(State)
  8. 解释器模式(Interpreter)
  9. 观察者模式(Observer)
  10. 命令模式(Command)
  11. 备忘录模式(Memento)
原文地址:https://www.cnblogs.com/lizhanglong/p/3996995.html