设计模式思维导图

设计模式品种:

  • 创立型:工厂办法模式(Factory Method)、形象工厂模式(Abstract Factory)、建造者模式(Builder)、原型模式(Prototype)、单例模式 (Singleton)
  •  结构型:适配器模式(Adapter)、桥接模式(bridge)、组合模式(Composite)、装璜器模式(Decorator) 门面模式(Facade)、享元模式(Flyweight)、代理模式(Proxy)
  • 行为型:解释器模式(Interpreter)、模板办法模式(Template Method)、责任链模式(Chain of Responsibility) 命令模式(Command)、迭代器模式(Iterator)、调解者模式(Mediator)、备忘录模式(Memento) 观察者模式(Observer)、状态模式(State)、策略模式(Strategy)、访问者模式(Visitor)

spring中相干设计模式


相干源码可参考:
https://gitee.com/flytohyj/technology-learning