摘要:
1、 定义 1.1 标准定义 中介者模式的定义为:Define an object that encapsulates how a set of objectsinteract.Mediator promotes loose coupling by keeping objects from refe 阅读全文
摘要:
1、 定义 1.1 标准定义 原型模式( Prototype Pattern) 的简单程度仅次于单例模式和迭代器模式。 正是由于简单, 使用的场景才非常地多, 其定义如下: Specify the kinds of objects to create using a prototypical ins 阅读全文