设计模式概括

来源:互联网 发布:python老男孩10期网盘 编辑:程序博客网 时间:2024/05/14 16:25

创建型模式
单例模式Singleton
工厂模式Factory
抽象工厂模式AbstractFactory
创建者模式Builder
原型模式Prototype
结构性模式
代理模式Proxy
装饰模式Decorator
适配器模式Adapter
组合模式Composite
桥接模式Bridge
外观模式Facade
享元模式Flyweight
行为型模式
模板模式Template
命令模式Command
责任联模式Chain of Responsibility(CoR)
策略模式Strategy
中介者模式Mediator
观察者模式Observer
备忘录模式Memento
访问者模式Visitor
状态模式State
解释器模式Interpreter
迭代器模式Iterator

原创粉丝点击