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

    Listing 2: Using factory methods in the method parameter.

    youdao

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

    Abstract Factory vs Factory method: Composition vs Inplement?

    youdao

  • 使用私有构造函数工厂方法

    Using private constructors for factory methods?

    youdao

  • 一个静态泛型工厂方法

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

    youdao

  • 必须字典读取器工厂方法指定配额实例

    A quotas instance must be given to the dictionary reader factory methods.

    youdao

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

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

    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

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

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

    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

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

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

    youdao

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

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

    youdao

  • 接着具体讲述了组件对象模型使用的设计模式工厂方法模式代理模式。

    It describes two kinds of design patterns in COM in detail: Factory Method pattern and Proxy pattern, and tells how to realize the former.

    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

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

    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

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

    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 policy of Simple Factory is reformed, and applied to produce command objects, which eliminates the limitations of past Simple Factory and makes up the defect of Factory Method.

    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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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