摘要: The Chain of Responsibility design pattern avoids coupling the sender of the request to its receiver by giving more than one object a chance to handle 阅读全文
posted @ 2023-06-03 21:32 云霄宇霁 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Give a language, the Interpreter design pattern defines a representation for its grammar along with an interpreter that uses the representation to int 阅读全文
posted @ 2023-06-03 21:32 云霄宇霁 阅读(2) 评论(0) 推荐(0) 编辑
摘要: The Command design pattern encapsulates a request as an object, thereby letting you paramize clients with different requests, queue or log requests, a 阅读全文
posted @ 2023-06-03 21:32 云霄宇霁 阅读(7) 评论(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) 编辑
摘要: The Iterator design pattern provides a way to acess the elements of an aggregate object sequentially without exposing its underlying representation. 迭 阅读全文
posted @ 2023-06-03 21:31 云霄宇霁 阅读(2) 评论(0) 推荐(0) 编辑
摘要: The State design pattern allows an object to alter its behavior when its internal state changes, The object will appear to change its class.状态设计模式允许当对 阅读全文
posted @ 2023-06-03 21:31 云霄宇霁 阅读(3) 评论(0) 推荐(0) 编辑
摘要: The Strategy design pattern defines a familiy of algorithms, encapsulate each one, and make them interchangeable. This pattern lets the algorithm vary 阅读全文
posted @ 2023-06-03 21:31 云霄宇霁 阅读(3) 评论(0) 推荐(0) 编辑
摘要: The Template Method design pattern defines the skeleton of an algorithm in an operation, defering some steps to subclasses. This pattern lets subclass 阅读全文
posted @ 2023-06-03 21:29 云霄宇霁 阅读(10) 评论(0) 推荐(0) 编辑
摘要: The Creational Design Pattern are Categorized into two types. Object-Creational Patterns: Object -Creational Patterns deal with object creation. Here, 阅读全文
posted @ 2023-06-03 21:28 云霄宇霁 阅读(4) 评论(0) 推荐(0) 编辑
摘要: The Visitor design pattern represents an operation to be peformed on the elements of object structure. This pattern lets you define a new operation wi 阅读全文
posted @ 2023-06-03 21:23 云霄宇霁 阅读(4) 评论(0) 推荐(0) 编辑