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
阅读全文
摘要:(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,
阅读全文
摘要:(Builder Pattern) Separating the creation of a complex object from its representation makes the same creation process have different representations,
阅读全文
摘要:(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
阅读全文
摘要:(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
阅读全文
摘要:(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
阅读全文

浙公网安备 33010602011771号