• 清单2:在方法参数使用工厂方法

    Listing 2: Using factory methods in the method parameter.

    youdao

  • 重构抽取覆盖工厂方法

    Refactoring: Extract and override factory method.

    youdao

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

    Using a static factory method to create a Msg object.

    youdao

  • 工厂方法替换构造函数

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

    youdao

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

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

    youdao

  • 工厂方法抽象工厂

    From factory method to abstract factory.

    youdao

  • 工厂方法对于软件开发来说注定要失败

    The "factory approach" to software development is bound to fail.

    youdao

  • 抽象工厂工厂方法组成与实现?

    Abstract Factory vs Factory method: Composition vs Inplement?

    youdao

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

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

    youdao

  • 使用工厂方法设计模式正确方法什么

    What's the right way to use the Factory method design pattern?

    youdao

  • 唯一特别之处在于几个方便操纵字段静态工厂方法

    The only special part is several convenient static factory methods for manufacturing fields.

    youdao

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

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

    youdao

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

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

    youdao

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

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

    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

  • 这个工厂变成相互依赖的工厂方法构成的巨型蜘蛛网。

    This factory is going to become a huge spiderweb of interdependent factory methods!

    youdao

  • 各个复合文件工件进行检查,然后使用工厂方法内存实例不同对象

    The various composite file artifacts are inspected, and factory methods help instantiate the various objects in memory.

    youdao

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

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

    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

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

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

    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

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

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

    youdao

  • 客户机代码访问MXBean三种方式通过工厂方法、通过平台服务器作为代理

    There are three ways for client code to access MXBeans: through factory methods, through the platform server, or as proxies.

    youdao

  • 可以直接实例化一个CipherService-没有奇怪让人混乱工厂方法

    You can instantiate a CipherService directly - no strange or confusing factory methods.

    youdao

  • 使用构造函数工厂方法看到大多数示例Spring代码基本还是使用setter。

    It can also use constructors or factory methods, but most examples you'll seeand the Spring code base itself — focus on setters.

    youdao

  • XAML 2009完全支持泛型非默认构造方法工厂方法内建类型并且可以定义新的属性

    In XAML 2009 we see full support for generics, non-default constructors, factory methods, built-in types, and defining new properties.

    youdao

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

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

    youdao

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

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

    youdao

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

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

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