Avatar notebook default
24篇文章 · 36264字 · 2人关注
  • 解释器模式

    简介 Given a language, define a representation for its grammar along with ...

  • Resize,w 360,h 240
    中介者模式

    简介 Define an object that encapsulates how a set of objects interact. Med...

  • Resize,w 360,h 240
    访问者模式

    简介 Represent an operation to be performed on the elements of an object s...

  • Resize,w 360,h 240
    状态模式

    简介 Allow an object to alter its behavior when its internal state changes...

  • Resize,w 360,h 240
    备忘录模式

    简介 Without violating encapsulation, capture and externalize an object's ...

  • Resize,w 360,h 240
    命令模式

    简介 Encapsulate a request as an object,thereby letting you parameterize c...

  • Resize,w 360,h 240
    责任链模式

    简介 Advoid coupling the sender of a reuest to its receiver by giving more...

  • Resize,w 360,h 240
    迭代器模式

    简介 Provide a way to access the elements of an aggregate object sequenti...

  • Resize,w 360,h 240
    观察者模式

    简介 观察者模式(Observer Pattern),又叫 发布-订阅(Publish/Subscribe)模式、模型-视图(Model/Vie...

文集作者