关键词学英语----设计模式

创建

Abstract Factory (抽象公厂)

Builder (生成器)

Factory Method(工厂方法)

Prototype(原型)

Singleton(单例)

结构

Adapter(适配器)

Bridge(桥接)

Composite(组合)

Decorator(装饰)

Facade(外观)

Flyweight(享元)

Proxy(代理)

行为

Chain Of Responsibility(职责链)

Command(命令)

Interpreter(解释器)

Iterator(迭代器)

Mediator(中介者)

Memento(备忘录)

Observer(观察者)

State(状态)

Strategy(策略)

Template Method(模板方法)

Visitor(访问者)

talk is cheap. show me the code.
原文地址:https://www.cnblogs.com/yushizhang/p/13324651.html