• He works as a painter and decorator.

    的职业是油漆匠装潢师傅

    《牛津词典》

  • Kennedy had no formal training as a decorator.

    肯尼迪没有接受过油漆工正式培训

    《柯林斯英汉双解大词典》

  • The decorator is parameterized.

    decorator参数化的。

    youdao

  • Listing 14. Smarter use of decorator.

    清单14.decorator更聪明用法

    youdao

  • Listing 7. The classinitializer decorator.

    清单7. classinitializer装饰器。

    youdao

  • You define a decorator just like any other method.

    定义修饰符与定义其他方法无异。

    youdao

  • There are two main benefits to the decorator module.

    decorator模块两大主要优势

    youdao

  • This is a classic GoF decorator pattern design pattern.

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

    youdao

  • Figure 4 shows a class diagram for the decorator pattern.

    4显示装饰器模式

    youdao

  • InfoQ: What distinguishes a decorator from an interceptor?

    InfoQ装饰器和拦截区别是什么

    youdao

  • The classinitializer decorator provides a declarative solution.

    classinitializer装饰器提供了一个说明性解决方案

    youdao

  • When you invoke this decorator, you wrap it around any instance.

    调用这个修饰需要封装任意实例内部。

    youdao

  • Any method called with this decorator USES only lowercase strings.

    使用修饰调用任何方法都将使用小写字符串

    youdao

  • The decorator process exposes the same interface as the task it invokes.

    装饰流程公开了与其调用任务相同接口

    youdao

  • A method is abstract if it's preceded with the decorator @abstractmethod.

    如果方法的前缀使用 @abstractmethod修饰符decorator),那么此方法就是一个抽象方法。

    youdao

  • Their icons are shown with a decorator at the top left, as shown in Figure 28.

    它们显示图标的左上方一个小的装饰物,如图28所示。

    youdao

  • Their ICONS are shown with a decorator at the top left, as shown in Figure 28.

    它们显示图标的左上方一个小的装饰物,如图28所示。

    youdao

  • It is not hard to create a decorator that "enhances" a regular numerical function.

    创建一个可以“增强普通数值函数decorator并不困难

    youdao

  • A decorator, being a Python function, can do absolutely anything other Python code can.

    作为一个python函数decorator完全可以实现其他Python代码所实现的任何功能。

    youdao

  • The decorator pattern is used by the DelegatingMessageHandler class shown in Listing 7.

    清单7中的DelegatingMessage handler使用decorator模式

    youdao

  • But I can make a decorator without adding the extra structure of a class-based approach.

    但是在创建修饰符可以不用添加额外基于方法结构

    youdao

  • An additional image decorator is provided by AJDT to indicate which elements are affected by advice.

    AJDT提供了额外的图片装饰指明哪些元素受到advice的影响。

    youdao

  • This looks better both to write the decorator in the first place, and in its behavior-preserving metadata.

    对于编写decorator更加有利,同时保留行为的元数据的也更出色了。

    youdao

  • The special method default is marked as a CherryPy handler function by the @cherrypy.expose decorator.

    default这个特殊方法使用 @cherrypy.expose 修饰符标记为 CherryPy处理程序函数。

    youdao

  • Listing 19 shows the correct declaration for the second decorator, and Listing 20 the implementation class.

    清单19显示第二decorator正确声明,清单20实现类。

    youdao

  • A comfortable spacious bathroom decoration could prove to be a challenging job for the bathroom decorator.

    浴室装饰舒服而不拥挤,装潢师来说挑战性的工作

    youdao

  • A decorator might return a function, but one that is not meaningfully associated with the undecorated function.

    decorator可能会返回一个函数这个函数修饰的函数之间不存在有意义关联

    youdao

  • However, in other cases, the decorator might combine the undecorated method behavior with some new capabilities.

    然而其他情况下decorator可能会未修饰方法一些功能相结合。

    youdao

  • An advantage of the decorator pattern is that you can easily tack on more than one decorator to the base at a time.

    装饰模式优点可以轻松地同时跟踪多个装饰器。

    youdao

  • The first decorator can DE defined declaratively, using just the plugin.xml manifest elements (see Listing 17).

    第一decorator只需要使用plugin . xml清单元素就可以被定义为可声明的(清单17)。

    youdao

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

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

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