04 2021 档案

摘要:(Adapter Pattern) Its function is to turn the interface of one class into another interface that the client expects, so that classes that would otherw 阅读全文
posted @ 2021-04-27 22:57 UpGx 阅读(107) 评论(0) 推荐(0)
摘要:(Proxy Pattern) Provide proxies to other objects to control access to this object, with the aim of augmenting other objects, in short, similar to AOP, 阅读全文
posted @ 2021-04-22 18:39 UpGx 阅读(146) 评论(0) 推荐(0)
摘要:(Builder Pattern) Separating the creation of a complex object from its representation makes the same creation process have different representations, 阅读全文
posted @ 2021-04-19 12:36 UpGx 阅读(91) 评论(0) 推荐(0)
摘要:(Prototype Pattern) Creating a new object by copying, the caller does not need to know the creation details, does not call the constructor, is a creat 阅读全文
posted @ 2021-04-15 19:46 UpGx 阅读(80) 评论(0) 推荐(0)
摘要:(Singleton Pattern) Make sure that there is absolutely only one instance of a class in any case, and that a global access point is provided。Sometimes 阅读全文
posted @ 2021-04-12 17:21 UpGx 阅读(133) 评论(0) 推荐(0)
摘要:(factory pattern) Sometimes we may need a lot of code when creating a class, and if we put all this creation logic in a class, it is undoubtedly very 阅读全文
posted @ 2021-04-06 18:15 UpGx 阅读(371) 评论(0) 推荐(0)