| 1. | Finally , we ' ll build our definition for the abstract factory 最后,我们将定义抽象工厂。 |
| 2. | An abstract factory pattern in a college matriculation system 抽象工厂模式在高校学生录取中的应用 |
| 3. | From factory method to abstract factory 从工厂方法到抽象工厂 |
| 4. | Hopefully this article helped you understand the basics of the abstract factory pattern 希望这篇文章能帮助你理解抽象工厂模式的基础。 |
| 5. | If an abstract factory object must be passed in , then you must add a new public constructor or mutator 如果必须传入抽象工厂对象,那么您必须添加一个新的公用构造函数或赋值( mutator )方法。 |
| 6. | An abstract factory provides an interface for creating families of related objects without specifying their concrete classes 一个抽象工厂提供了用于创建一系列相关对象的接口,而不用说明它们的具体类。 |
| 7. | But forcing the public api to accommodate factory objects or abstract factories , just because the test code wants it to , is the wrong design 但强迫公用api适应工厂对象或抽象工厂(只因为测试代码要求它这样)是错误的设计。 |
| 8. | Now that we ' ve covered all the bases ( no pun intended ) , we ' ll create automobiles with our abstract factory using a builder method 现在我们已经实现了所有的基础(没有双关) ,我们将使用一个制造方法来通过抽象工厂来生产汽车。 |
| 9. | At this point , you may be tempted to go one step further and replace the factory method with a full - fledged abstract factory object , as detailed in 此时,您可能很想更进一步并用成熟的抽象工厂对象替换工厂方法,如erich gamma等人在 |
| 10. | Abstract factory design pattern ( sample - an abstract factory provides an interface for creating families of related objects without specifying their concrete classes 一个抽象工厂提供了用于创建一系列相关对象的接口,而不用说明它们的具体类。 |