四个GOF的设计模式核心的三种类型:Creational=>处理对象创建的复杂性prototype=>要复制或克隆的完全初始化的实例builder=>将对象构造与其表示形式分离Singleton=>将创建一个实例,无论请求对象的对象是哪个实例,都会发送该实例=>Connection实例工厂=>创建对象族。
-Structural=>结构处理类的结构-Decorator=>Addresponsibilitytotheobjectdynamically-Facade=>Asingleclassrepresentstheentiresubsystem -Proxy=>Proxyishidingthecomplexityoftheoriginalimplementationbyprovidingthe
                                    
                                    
                                         2023/7/24 19:33:50 
                                             1.14MB 
                                            Java
                                            
                                     
                                        
                                            1