But the decorators are only there during the day.
但是油漆工只是白天在那里啊。
And, like all good decorators, she USES two coats.
并且向所有优秀的油漆匠一样,她涂抹了两层。
This module makes developing decorators much nicer.
该模块使decorator的开发变得更加美妙。
A common use for decorators is to annotate static methods.
修饰符的一种常见用法是注释静态方法。
Image decorators can also be used to show crosscutting information.
图像装饰器也可以用来表示横切信息。
We'll have the decorators in next week.
我们准备让装修工下周过来。
We shall be having the decorators in next month.
下月我要让装饰师来替我装修房子。
Providing its own beans, interceptors and decorators to the container.
提供自己的Bean、拦截器和装饰器。
I can't do with visitors this week, as we've got decorators in the house.
这星期我们不便接待访客,我们家里有工人搞装修。
Set decorators, choreographers, hairdressers and photographers were imported.
布景师、舞美师、美发师、摄影师是从国外请来的。
The walls were painted with what English decorators then imagined to be scenes of China.
房间的墙壁被粉刷成当时英国装饰者想象中的中国风情。
Global ordering of interceptors and decorators, as well as global enablement of alternatives.
对拦截器与装饰器的全局排序,还支持以全局方式实现组件的替换。
A clean, and non-ugly, solution to the above need might be to add class decorators to Python.
上述问题的一种干净、漂亮的解决方案可能需要向Python添加类装饰器。
Parameterized decorators are common, but they wind up needed functions nested three-levels deep.
参数化的decorator较为常见,但是它们将所需的函数嵌套为三层。
Download JUnitPerf: a collection of JUnit test decorators used to measure performance and scalability.
下载JUnitPerf:一系列用于测量性能和可伸缩性的JUnit测试装饰器。
Some decorators went by and I lingered inhaling the scent of turps that I have loved since I was a child.
几个油漆工走过,我停下脚步,深深地闻著那股松节油的香味,我从小就喜欢这种气味。
The opening of the new hotel has hung fire because the decorators haven't yet finished painting it inside.
新饭店开张推迟了,因为油漆匠还未完成室内油漆。
This reduces flashing on the screen and can be a big performance boost for decorators that change frequently.
这会减少屏幕的闪烁,对于经常要改变的decorator 会极大地提高性能。
The small blue triangle decorators on the Release 1.0 icon and Sprint 1 icon indicate that these are the current Release and Iteration.
Release 1.0和Sprint1的图标中的小蓝色三角形符号指示着,他们是当前的Release和Iteration。
We're not huge decorators so the process of putting our home together just happens simply and organically (and whenever we can afford things).
我们都不是大牌室内设计师,所以整个装饰过程很随性有机。只要有闲钱就买点东西。
Probably more typical is using decorators on top-level defined classes, which depend only on conditions available at compile-time (which are often adequate).
可能更加典型的情况是在顶级定义类中使用decorator,这些类只依赖于编译时可用的条件(这通常就足够了)。
As mentioned in the last section, decorators could not completely replace the metaclass hook since they only modify methods rather than add or delete methods.
正如上一节中介绍的一样,decorator并不能完全取代元类挂钩,因为它们只修改了方法,而未添加或删除方法。
To make situations like this more readable and to avoid having to reuse the same method name multiple times, method decorators were introduced in Python version 2.4.
为了让此类情景更易于读懂,也为了避免必须多次重用相同的方法名,在Python版本2.4中引入了方法修饰符。
The most typical examples you will see discussed for decorators can probably be described as making a function or method "do something extra" while it does its basic job.
您将看到,有关decorator的最典型的例子可能是使一个函数或方法来实现“其他功能”,同时完成其基本工作。
Decorators aren't limited to a single decoration.
装饰器并不局限于单个的装饰物。
Decorators provide a flexible alternative to subclassing for extending functionality.
为了扩展功能,装饰者提供了比继承更灵活的替代方案。
Decorators provide a flexible alternative to subclassing for extending functionality.
就扩展对象功能来说,装饰者模式比生成子类更为灵活。
Decorators are methods that modify other methods and return either a method or another callable object.
修饰符是一些方法,这些方法可以修改其他方法并返回一个方法或另外一个可调用对象。
Decorators are methods that modify other methods and return either a method or another callable object.
修饰符是一些方法,这些方法可以修改其他方法并返回一个方法或另外一个可调用对象。
应用推荐