Skip to content

dytl/Design-Patterns

Repository files navigation

创建型模式包含了:

  • 工厂方法模式( Factory Method )
  • 抽象工厂模式( Abstract Factory )
  • 单例模式( Singleton )
  • 建造者模式( Builder )
  • 原型模式( Prototype )

结构型模式包含了:

  • 适配器模式( Adapter )
  • 装饰器模式( Decorator )
  • 代理模式( Proxy )
  • 外观模式( Facade )
  • 桥接模式( Bridge )
  • 组合模式( Composite )
  • 享元模式( Flyweight )

行为型模式包含了:

  • 策略模式( Strategy )
  • 模板方法模式( Template Method )
  • 观察者模式( Observer )
  • 迭代子模式( Iterator )
  • 责任链模式( Chain of Responsibility )
  • 命令模式( Command )
  • 备忘录模式( Memento )
  • 状态模式( State )
  • 访问者模式( Visitor )
  • 中介者模式( Mediator )
  • 解释器模式( Interpreter )...

About

设计模式

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages