5篇文章 · 275字 · 1人关注
The abstract factory pattern is used to provide a client with a set of r...
The builder pattern is used to create complex objects with constituent p...
🏭 Factory Method The factory pattern is used to replace class constructo...
创建一个新的对象,然后通过复制现有的对象,称为原型。原型本身使用模板创建,后续实例是克隆模板产生的。
文集作者