设计模式

创建型模式

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

结构型模式

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

行为型模式

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

设计模式全文参考 Java之美[从菜鸟到高手演变]之设计模式

results matching ""

    No results matching ""