• The Factory Method Pattern is a creational pattern that defines an interface for creating an object but lets subclasses decide which actual class to instantiate.

    Factory方法模式创建的模式,它定义个用来创建对象的接口子类来决定实例化哪个

    youdao

  • In other words, Factory Method lets a class defer the instantiation to its subclasses.

    话说,Factory方法一个实例其子类。

    youdao

  • If the helper class is a handler factory, the GetHandler method will actually determine the type of handler to use.

    如果帮助一个处理程序工厂那么GetHandler方法最终决定使用处理程序类型

    youdao

  • Concrete classes provide the appropriate implementation for their respective base class. The Factory Method Pattern consists of the following classes.

    concrete它们各自提供恰当实现

    youdao

  • The code in Listing 2 takes as input the actual XML instance and USES the parse method of the Factory class of AutomobilePolicyDocument to get an instance of AutomobilePolicyDocument.

    清单2代码接受输入xml实例使用AutomobilePolicyDocumentFactoryparse方法获得AutomobilePolicyDocument实例。

    youdao

  • In Listing 2, the code first includes the necessary class file for the MDB2_Schema package, and then initializes the MDB2 abstraction layer by calling its static factory method.

    清单2中,代码首先包含MDB2_Schema所需的文件然后通过调用静态方法factory初始mdb2抽象

    youdao

  • To begin, the script includes the XML_Query2XML and MDB2 class files, and then initializes an instance of the MDB2 abstraction layer through its factory() method.

    首先脚本包含了 XML_Query2XMLMDB2文件然后通过factory() 方法初始化了一个 MDB2抽象实例。

    youdao

  • A static factory method on a generic or a non-generic class?

    一个静态泛型类工厂方法

    youdao

  • Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.

    定义用于创建对象的接口子类决定实例工厂方法使一个类的实例延迟其子类。

    youdao

  • Factory Method lets a class defer instantiation to subclasses.

    工厂方法一个实例化延迟子类中进行

    youdao

  • The first class USES a constructor to initialize the properties, and the second class USES a static factory method.

    第一使用构造函数初始属性第二个类使用静态工厂方法。

    youdao

  • Define an interface for creating an object, but let subclass decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.

    定义用于创建对象的接口子类决定实例工厂方法使一个类的实例延迟其子类。

    youdao

  • The Factory Method Pattern defines an interface for creating an object, but lets subclasses decide which class to instantiate.

    工厂方法模式定义了一个创建对象的接口,由子类决定实例化的逻辑。

    youdao

  • The Factory Method Pattern defines an interface for creating an object, but lets subclasses decide which class to instantiate.

    工厂方法模式定义了一个创建对象的接口,由子类决定实例化的逻辑。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定