Design Pattern

备注: *.puml是PlantUML绘制类图的文件.

github see:
- https://github.com/iluwatar/java-design-patterns

blog see:
设计模式建议学习顺序: http://www.cnblogs.com/guola/archive/2013/01/02/2841997.html ,
设计模式总结: http://www.cnblogs.com/chenssy/p/3357683.html , 博客中有具体讲解

1. 分类

1.1. creational, 创建型

  1. Abstract Factory, 抽象工厂模式
  2. Factory Method, 工厂方法模式
  3. Builder, 创建者模式
  4. Singleton, 单例模式
  5. Prototype, 原型模式

1.2. structural, 结构型

  1. Adapter, 适配器模式
  2. Bridge, 桥接模式
  3. Composite, 组合模式
  4. Decorator, 装饰者模式
  5. Facade, 外观模式
  6. Flyweight, 享元模式
  7. Proxy, 代理模式

1.3. behavioral, 行为型

  1. Chain of Responsibility, 职责链模式
  2. Command, 命令模式
  3. Interpreter, 解释器模式
  4. Iterator, 迭代器模式
  5. Mediator, 中介者模式
  6. Memento, 备忘录模式
  7. Observer, 观察者模式
  8. State, 状态模式
  9. Strategy, 策略模式
  10. Template Method, 模板方法模式
  11. Visitor, 访问者模式