Skip to content
DuanBinbin edited this page Aug 10, 2018 · 3 revisions

Definition

Participants

Structure

Summarize

Benefit

Defect

Applicable Situations

Compare

设计模式

创建型模式(Creational)5种

工厂模式

行为型模式(Behavioral)11种

命令模式(Command)

状态模式(State)

观察者模式(Observer)

责任链模式(Chain of Responsibility)

中介者模式(Mediator)

解析器模式(Interpreter)

迭代器模式(Iterator)

备忘录模式(Memento)

访问者模式(Visitor)

结构型设计模式(Structural)7种

适配器模式(Adapter)

桥接模式(Bridge)

组合模式(Composite)

装饰模式(Decorator)

外观模式(Facade)

享元模式(Flyweight)

代理模式(Proxy)

Clone this wiki locally