• He works as a painter and decorator.

    他的职业是油漆匠和装潢师傅。

    《牛津词典》

  • Listing 7. The classinitializer decorator.

    清单7. classinitializer装饰器。

    youdao

  • There are two main benefits to the decorator module.

    decorator模块有两大主要优势。

    youdao

  • You define a decorator just like any other method.

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

    youdao

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

    图4显示了装饰器模式的类图。

    youdao

  • InfoQ: What distinguishes a decorator from an interceptor?

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

    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

  • 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

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

    但是,我在创建修饰符时可以不用添加额外的基于类的方法结构。

    youdao

  • Here is the code for classinitializer. You do not need to understand it to use the decorator.

    下面是classinitializer的代码。

    youdao

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

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

    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

  • In the debug view, notice that the application being debugged has a [Team] decorator on it, as Figure 30 shows.

    在Debug视图中,注意调试的程序上面有一个[Team]的标示符,见于图30。

    youdao

  • In this rather long letter the woman said that as she was a decorator and I an architect, we might work together.

    在这封挺长的信里,那个女人说她是装潢师我是建筑师,我们没准可以合作做点什么。

    youdao

  • The GenericLowerDecorator class ACTS as a universal decorator to force all string-based parameters into lowercase.

    GenericLowerDecorator类充当一个通用修饰符,用于强制所有基于字符串的参数使用小写形式。

    youdao

  • Because human tasks are always asynchronous, the corresponding decorator process is typically a long-running process.

    由于人工任务始终是异步的,对应的装饰流程通常为长时间运行的流程。

    youdao

  • The decorator process either contains the task as an inline task, or it invokes the corresponding human task component.

    装饰流程或者作为内联任务包含该任务,或者调用对应的人工任务组件。

    youdao

  • The undecorated Foo.say method in this case is a simple placeholder, with the entire behavior determined by the decorator.

    本例中未修饰的Foo. say方法是一个简单的占位符,其整个行为都是由decorator决定的。

    youdao

  • Enter the decorator pattern, which allows you to add this functionality onto the AutomobileModel in a nice, clean class.

    进入装饰器模式,该模式允许您通过一个优秀整洁的类将此功能添加到AutomobileModel。

    youdao

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

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

    youdao

  • Halden hired an interior decorator who used 18 different colors to create a sense of variety and stimulate various moods.

    哈尔登雇用了一名室内装饰师,用18种不同的颜色创造了多种感觉,激发不同的情绪。

    youdao

  • Below are two sample controller methods associated with the category HTML template through the TurboGears expose decorator.

    下面是TurboGears expose中与分类HTML模板有关的两个样例控制器方法。

    youdao

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

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

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