创建类模式、结构类模式、行为类模式

创建类模式,提供对象的创建和管理,包括:
工厂方法模式(Factory Method)
建造者模式(Builder)
抽象工厂模式(Abstract Factory)
单例模式(Singleton)
原型模式(Prototype)

结构类模式,通过组合类或对象产生更大结构以适应更高层次的逻辑需求,包括:
适配器模式(Adapter)
桥梁模式(Bridge)
组合模式(Composite)
装饰模式(Decorator)
门面模式(Facade)
享元模式(FlyWeight)
代理模式(Proxy)

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

posted on 2013-05-18 10:30  Sunny_NUAA  阅读(220)  评论(0编辑  收藏  举报

导航