随笔分类 -  设计模式 / 结构性设计模式

摘要:The Bridge design pattern decouples an abstraction from its implementation so tha the two can vary independently. 桥接模式将抽象和实现解耦,以便两者可以独立变化。 UML Class D 阅读全文
posted @ 2023-06-03 21:34 云霄宇霁 阅读(5) 评论(0) 推荐(0) 编辑
摘要:The Adpative design pattern converts the interface of a class to another interface clients expect. This design pattern lets classes work together that 阅读全文
posted @ 2023-06-03 21:34 云霄宇霁 阅读(10) 评论(0) 推荐(0) 编辑
摘要:The Decorator Design Pattern attaches additional responsibilities to an object dynamically. This pattern provide a flexible alternative to subclassing 阅读全文
posted @ 2023-06-03 21:33 云霄宇霁 阅读(5) 评论(0) 推荐(0) 编辑
摘要:The Composite design pattern composes objects into tree structures to represent part-whole hierarchies. This pattern lets clients treat individual obj 阅读全文
posted @ 2023-06-03 21:33 云霄宇霁 阅读(5) 评论(0) 推荐(0) 编辑
摘要:The Facade design patten provides a unified interface to a set of interfaces in a subsystem.This pattern defines a higher-level interface that makes t 阅读全文
posted @ 2023-06-03 21:33 云霄宇霁 阅读(4) 评论(0) 推荐(0) 编辑
摘要:The Flyweight design pattern uses sharing to support large numbers of fine-gained objects efficiently. 享元模式用共享有效支持大量细粒度的对象。 UML Class Diagram Flyweigh 阅读全文
posted @ 2023-06-03 21:32 云霄宇霁 阅读(3) 评论(0) 推荐(0) 编辑
摘要:代理模式(proxy):为其他对象提供一种代理以控制对这个对象的访问。在某些情况下,一个对象不适合或者不能直接引用另外一个对象,而代理对象可以在客户端和目标对象之间起到中介的作用。 The Proxy design pattern provides a surrogate or placeholde 阅读全文
posted @ 2019-05-19 10:38 云霄宇霁 阅读(96) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示