摘要:
(Template Method Pattern) Define a skeleton that allows subclasses to provide implementations for one or more of the steps. In short, the methods of o 阅读全文
摘要:
Delegate Pattern The basic function is the scheduling and distribution of tasks, separating the assignment and execution of tasks。In short, similar to 阅读全文
摘要:
Composite Pattern The purpose is to represent individual objects and composite objects with the same interface, so that the client can handle individu 阅读全文
摘要:
Flyweight Pattern The Enjoyable Element mode is a manifestation of object pooling. Similar to thread pools, you can avoid creating and destroying mult 阅读全文