• There are three base implementations provided for sub-classing.

    所提供的用于生成子类的基本实现有三种。

    youdao

  • In VB this is relatively easy to achieve, so long as you understand sub-classing.

    在VB这是比较容易实现的,只要你明白分分级。

    youdao

  • After 24 pages we reach a much better design, which mainly USES a map to store properties rather than sub-classing for each type of instrument.

    在24页之后,我们看到了更好的设计,主要用map来存储属性,而不是为每种乐器类型建立子类。

    youdao

  • Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provider a flexible alternative to sub-classing for extending functionality.

    动态的给一个对象添加一些额外的职责,就增加功能而言,装饰模式能相比生成子类更为灵活。

    youdao

  • A sub classing of the interface is used to provide two services with the same interface.

    使用了接口的子类来提供具有相同接口的两个服务。

    youdao

  • Decorator Pattern Attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to sub classing for extending functionality.

    装饰器模式动态地将责任附加到对象上。若要扩展功能,装饰者提供了比继承更有弹性的替代方案。

    youdao

  • Decorator Pattern Attaches additional responsibilities to an object dynamically. Decorators provide a flexible alternative to sub classing for extending functionality.

    装饰器模式动态地将责任附加到对象上。若要扩展功能,装饰者提供了比继承更有弹性的替代方案。

    youdao

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

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

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