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

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

    youdao

  • 现在我们这个意义定义工厂方法模式

    Now, let us make sense of this definition for the Factory Method pattern.

    youdao

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

    You use the factory method pattern when an application needs to create objects whose type depend on the implementation of 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, as its name implies, defines the implementation of a method used to churn out objects.

    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

  • 改进了简单工厂模式实现策略克服了原来简单工厂模式局限性同时弥补工厂方法模式的不足。

    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

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • 此时可能更进一步并用成熟抽象工厂对象替换工厂方法ErichGamma等人设计模式详细描述的那样。

    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 Design Patterns by Erich Gamma, et al.

    youdao

  • 此时可能更进一步并用成熟抽象工厂对象替换工厂方法ErichGamma等人设计模式详细描述的那样。

    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 Design Patterns by Erich Gamma, et al.

    youdao

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

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

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