设计模式的艺术

1.创建型模式(6种)

  ① 设计模式的艺术-01.单例(Singleton)模式

  ② 设计模式的艺术-02.简单工厂(Simple Factory)模式

  ③ 设计模式的艺术-03.工厂方法(Factory Method)模式

  ④ 设计模式的艺术-04.抽象工厂(Abstract Factory)模式

  ⑤ 设计模式的艺术-05.原型(Prototype)模式

  ⑥ 设计模式的艺术-06.建造者(Builder)模式

2.结构型模式(7种)

  ① 设计模式的艺术-07.适配器(Adapter)模式

  ② 设计模式的艺术-08.桥接(Bridge)模式

  ③ 设计模式的艺术-09.组合(Composite)模式

  ④ 设计模式的艺术-10.装饰(Decorator)模式

  ⑤ 设计模式的艺术-11.外观(Facade)模式

  ⑥ 设计模式的艺术-12.享元(Flyweight)模式

  ⑦ 设计模式的艺术-13.代理(Proxy)模式

3.行为型模式(10种)

  ① 设计模式的艺术-14.职责链(Chain of Responsibility)模式

  ② 设计模式的艺术-15.观察者(Observer)模式

  ③ 设计模式的艺术-16.访问者(Visitor)模式

  ④ 设计模式的艺术-17.模板方法(Template Method)模式

  ⑤ 设计模式的艺术-18.策略(Strategy)模式

  ⑥ 设计模式的艺术-19.命令(Command)模式

  ⑦ 设计模式的艺术-20.备忘录(Memento)模式

  ⑧ 设计模式的艺术-21.迭代器(Iterator)模式

  ⑨ 设计模式的艺术-22.中介者(Mediator)模式

  ⑩ 设计模式的艺术-23.解释器(Interpreter)模式

 设计模式综述

  设计模式综述

原文地址:https://www.cnblogs.com/cnki/p/8290072.html