主页

索引

模块索引

搜索页面

Creational-创建型(5)

备注

它提供了一种在创建对象的同时隐藏创建逻辑的方式,而不是使用 new 运算符直接实例化对象。创建型模式是处理对象创建的一类设计模式,主要思想是向对象的使用者隐藏对象创建的具体细节,从而达到解耦的目的。Creational patterns are ones that create objects, rather than having to instantiate objects directly. This gives the program more flexibility in deciding which objects need to be created for a given case.

主页

索引

模块索引

搜索页面