设计模式——抽象工厂(Abstract Factory)模式
一. 抽象工厂模式
抽象工厂:提供一个创建一系列相关或相互依赖对象的借口,而无需指定它们具体的类
Role
This pattern supports the creation of products that exist in families and are designed to be produced together. The abstract factory can be refined to concrete factories,each of which can create different products of different types and in different combinations. The pattern isolates the product definitions and their class names [...]
浙公网安备 33010602011771号