• 装饰者模式可以动态地一个对象增加其他职责

    The Decorator Pattern attaches additional responsibilities to an object dynamically.

    youdao

  • 扩展对象功能来说,装饰模式比生成子类更为灵活

    Decorators provide a flexible alternative to subclassing for extending functionality.

    youdao

  • 装饰者模式动态地职责附加对象上。若扩张功能装饰提供继承更有弹性替代方案

    Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a flexible alternative to subclassing 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

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

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

    youdao

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

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

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