设计模式之目录篇

一. 创建型模式

1. 抽象工厂(Abstract Factory)

 

2. 建造者(Builder)

 

3. 工厂方法(Factory Method)

 

4. 原型(Prototype)

 

5. 单件(Singleton)

 

6. 对象池(Object Pool)

 

二.  结构型模式

7. 适配器(Adapter)

 

8. 桥接(Bridge)

 

9. 组合(Composite)

 

      10. 装饰(Decorator)

 

      11. 外观(Facade)

 

      12. 享元(FlyWeight)

 

      13. 代理(Proxy)

 

      14. 私有类数据(Private Class Data) 

 

三.  行为型模式

      15. 职责链(Chain of responsibility)

 

      16. 命令(Command)

 

      17. 解释器(Interpreter)

 

      18. 迭代(Iterator)

 

      19. 中介者(Mediator)

 

      20. 备忘录(Memento)

 

      21. 观察者(Observer)

 

      22. 状态(State)

 

      23. 策略(Strategy)

 

      24. 模板方法(Template method)

 

      25. 访问者(Visitor)

 

      26. 空对象(Null Object)

 

发布了43 篇原创文章 · 获赞 0 · 访问量 2万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章