go top

装饰模式

网络释义

  Decorator

装饰模式Decorator)是以对客户端透明的方式对对象功能的一种扩展,是基础方式的一种更好的替代方案。

基于1556个网页-相关网页

  Decorator Pattern

...装饰模式(Decorator Pattern):动态地给一个对象增加一些额外的职责,就增加对象功能来说,装饰模式比生成子类实现更为灵活。装饰模式是一种对象结构型模式。

基于1434个网页-相关网页

  Decorate

去掉又报错    这不是用js搞一个decorate模式(装饰模式)的demo吗?不过这代码确实看得头大。

基于110个网页-相关网页

  Decorator/Wrapper Pattern

... 支持珊瑚虫,停用QQ 原型模式(Prototype Pattern) 装饰模式Decorator/Wrapper Pattern) ...

基于2个网页-相关网页

短语

装饰者模式 Decorator Pattern ; Decorator ; Decorate

装饰器模式 Decorator ; Decorator Pattern

设计模式之装饰者模式 Decorator Pattern

装饰工厂化模式 industrialized mode of construction

 更多收起网络短语

有道翻译

装饰模式

Decorative pattern

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 典型的GoF装饰模式设计模式

    This is a classic GoF decorator pattern design pattern.

    youdao

  • 该类实现包装装饰模式

    This class implements the Wrapper or Decorator pattern.

    youdao

  • 一般的“装饰模式一种设计模式允许动态地现有组件添加新的行为

    The general "decorator pattern" is a design pattern that allows adding new behavior to an existing component dynamically.

    youdao

更多双语例句

百科

装饰模式

装饰模式指的是在不必改变原类文件和使用继承的情况下,动态地扩展一个对象的功能。它是通过创建一个包装对象,也就是装饰来包裹真实的对象。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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