• From factory method to abstract factory.

    工厂方法抽象工厂。

    youdao

  • Refactoring: Extract and override factory method.

    重构抽取覆盖工厂方法

    youdao

  • Using a static factory method to create a Msg object.

    使用静态工厂方法创建一个msg对象。

    youdao

  • This is a typical example of the Factory Method Pattern.

    是个典型Factory方法模式实例

    youdao

  • For example, suppose we want to add a factory method to a List class.

    例如假定factory方法添加list中。

    youdao

  • Then, I use the factory method pattern so that the coupling is with the interface.

    然后使用工厂方法模式这样耦合度就界面相关联了。

    youdao

  • A factory method, by convention, begins with create and returns the interface.

    根据约定factory方法create为开头返回接口

    youdao

  • The class returned by the factory method is an adapter to a particular cloud service.

    工厂方法返回用于一个特定于服务适配器

    youdao

  • Assure that the factory method is accessible to the target object and its subclasses.

    确保目标对象及其子类可以访问工厂方法

    youdao

  • Convert Property to Auto-Property Introduce Field Replace Constructor with Factory method.

    工厂方法替换构造函数

    youdao

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

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

    youdao

  • This section offers a step-by-step description of the Extract and Override factory method refactoring.

    循序渐进地描述抽取覆盖工厂方法重构

    youdao

  • CreateInstance is a factory method that returns an instance of PeerNetwork with a specified peer name.

    createInstance是个工厂(factory)方法,它返回一个带有指定对等点名称PeerNet work实例

    youdao

  • This factory method instantiates the collection of course objects by delegating the work to the service layer.

    工厂方法通过将这项工作委托服务来实例化课程对象集合

    youdao

  • To create an instance of the Factory Method Pattern, perform the same steps as for the Singleton Pattern.

    创建Factory方法模式实例执行同Singleton模式相同步骤

    youdao

  • The factory method pattern, as its name implies, defines the implementation of a method used to churn out objects.

    工厂方法模式顾名思义定义一个用来大量产出对象的方法实现

    youdao

  • The solution here is to provide a method parameter with a factory method for the items to read, as shown in Listing 2.

    这里解决方案读取条目提供一个工厂方法的方法参数如清单2

    youdao

  • The example gave a client and server bundle (both in the same VM), and the client found the server via a factory method.

    文中的例子给出了client一个serverbundle两者同一个VM中),client通过工厂方法找到server。

    youdao

  • In fact, many would have started this approach with a factory object, rather than a factory methodwe did, but soon backed away.

    实际上许多已经工厂对象来着手这种方法不是用工厂方法我们以前是这样做的,很快就放弃了。

    youdao

  • Optional: create a unit test to assure that the original target object's factory method still returns the correct, non-mock object.

    可选的:创建单元测试确保原始目标对象工厂方法返回正确非模仿对象。

    youdao

  • You use the factory method pattern when an application needs to create objects whose type depend on the implementation of subclasses.

    可以应用程序需要创建类型依赖于子类实现对象使用工厂方法模式

    youdao

  • In gpars, actors can be created from a factory method that takes a closure or by subclassing groovyx.gpars.actor.AbstractPooledActor.

    gpars中,可以利用接受包的factory方法通过为groovyx . gpars . actor . AbstractPooledActor划分子类创建actors

    youdao

  • In this way, the object returned from the static factory method could implement any number of interfaces defined when I create the proxy.

    这种方式静态工厂方法返回对象可以实现建立代理所定义任意数量接口

    youdao

  • You can retrieve an MXBean instance from a static factory method that gives you direct access to the locally running JVM's MXBean interface.

    可以静态工厂方法获得MXBean实例,该方法可以使直接访问本地运行JVMMXBean接口

    youdao

  • The singleton, builder, and factory method design patterns are considered creational patterns, as they assist in the construction of objects.

    例、生成器工厂方法设计模式视为是创建模式,因它们协助对象的构建

    youdao

  • This can be as simple as invoking the base class's factory method and asserting that the returned object is of the correct type. For example.

    调用工厂方法断言返回对象具有正确类型一样简单

    youdao

  • Presumably that means IndexReader.open , a static factory method, instantiates an appropriate concrete subclass of IndexReader and returns it.

    大概意味着IndexReader . open,静态工厂方法实例了适当具体indexreader子类返回

    youdao

  • Create the SecurityManager instance based on the configuration (using Shiro’s Factory concept that represents the Factory Method design pattern).

    根据配置创建SecurityManager实例使用Shiro的工厂概念它表述 工厂方法设计模式);

    youdao

  • Patterns (such as the Factory Method mentioned in this article) are an important tool for understanding and discussing object-oriented design.

    模式(本文提到Factory Method模式)理解讨论面向对象设计重要工具

    youdao

  • Patterns (such as the Factory Method mentioned in this article) are an important tool for understanding and discussing object-oriented design.

    模式(本文提到Factory Method模式)理解讨论面向对象设计重要工具

    youdao

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

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

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