摘要: The Prototype design pattern specifies the kind of objects to create using a prototypical instance, and create new objects by copying this prototype. 阅读全文
posted @ 2019-05-19 12:09 云霄宇霁 阅读(92) 评论(0) 推荐(0) 编辑
摘要: The Factory Method design pattern defines an interface for creating an object , but let subclasses decide which class to instantiate. This pattern let 阅读全文
posted @ 2019-05-19 11:01 云霄宇霁 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 代理模式(proxy):为其他对象提供a56爆大奖在线娱乐代理以控制对这个对象的访问。在某些情况下,一个对象不适合或者不能直接引用另外一个对象,而代理对象可以在客户端和目标对象之间起到中介的作用。 The Proxy design pattern provides a surrogate or placeholde 阅读全文
posted @ 2019-05-19 10:38 云霄宇霁 阅读(93) 评论(0) 推荐(0) 编辑