摘要: 原型模式(Prototype Pattern) 定义:Specify the kinds of objects to create using a prototypical instance,and create new objects by copying this prototype.(用原型实 阅读全文
posted @ 2020-06-12 14:30 meigang 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 代理模式(Proxy Pattern) 定义:Provide a surrogate or placeholder for another object to control access to it.(为其他对象提供一种代理以控制对这个对象的访问。一个类代表另一个类的功能。这种类型的设计模式属于结 阅读全文
posted @ 2020-06-12 09:31 meigang 阅读(149) 评论(0) 推荐(0) 编辑