设计模式分为 三类
创建模式
factory、prototype、singleton、builder
结构模式
facade、proxy、adapter、composite、decorator、bridge、flyweight
行为模式
template、memento、observer、command、state、strategy、mediator、interpreter、visitor、chain of responsibility
factory、prototype、singleton、builder
结构模式
facade、proxy、adapter、composite、decorator、bridge、flyweight
行为模式
template、memento、observer、command、state、strategy、mediator、interpreter、visitor、chain of responsibility