请输入您要查询的英文单词:

 

单词 Decorator pattern
释义
Decorator pattern
  • 简明释义
  • 修饰模式(修饰模式是一种动态添加类行为的设计模式,比生成子类更灵活,可给对象添加功能)
  • 网络释义
  • 1

    ?修饰模式

    修饰模式(Decorator Pattern):经过修饰模式,开发人员可以在运转时将特定的功能绑定在对象上。

  • 2

    ?装饰模式

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

  • 3

    ?装饰者模式

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

  • 4

    ?装饰器模式

    ...装饰器模式(Decorator Pattern): 允许向一个已有的对象添加新的功能或部分内容,同时又不改变其结构。属于结构型模式,它是作为现有的类的一个包装。

短语
  • 双语例句
  • 1
    This is a classic GoF decorator pattern design pattern.
    这是典型的GoF装饰模式设计模式。
  • 2
    Figure 4 shows a class diagram for the decorator pattern.
    图4显示了装饰器模式的类图。
  • 3
    The decorator pattern is used by the DelegatingMessageHandler class shown in Listing 7.
    清单7中的DelegatingMessage handler类使用了decorator模式。
随便看

 

英汉双解词典包含3185865条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/10/5 8:36:07