decorators
英 [ˈdɛkəreɪtəz]
美 [ˈdɛkəˌreɪtərz]
n. (房屋的)油漆匠,裱糊匠
decorator的复数
柯林斯词典
- 粉刷匠;油漆匠;裱糊匠
Adecoratoris a person whose job is to paint houses or put wallpaper up. - (室内)装饰设计师,装潢设计师
Adecoratoris a person who is employed to design and decorate the inside of people's houses.
in BRIT, use 英国英语用 interior decorator
双语例句
- Decorators are methods that modify other methods and return either a method or another callable object.
修饰符是一些方法,这些方法可以修改其他方法并返回一个方法或另外一个可调用对象。 - The result is an almost universal shortage of carpenters, decorators, bricklayers and plumbers in developed countries jobs which increasingly may have to be filled by migrant workers.
发达国家几乎普遍短缺木匠、油漆工、砖瓦匠和水管工,这些工作愈来愈可能要由移民工人来填补。 - A clean, and non-ugly, solution to the above need might be to add class decorators to Python.
上述问题的一种干净、漂亮的解决方案可能需要向Python添加类装饰器。 - Sweet stuff: This dog cake had to be carefully shaded by Karen and her team of decorators.
长毛狗:这只小狗蛋糕想必一定是凯伦和自己的蛋糕装饰师团队的杰作。 - 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,这些类只依赖于编译时可用的条件(这通常就足够了)。 - Decorators work for regular functions too, in the same manner as for methods in classes.
decorator也可以用于正则函数,采用的是与类中的方法相同的方式。 - Customers include building contractors, tradesmen, architects and interior decorators, as well as home owners.
客户包括建筑商,贸易商,设计师和室内装饰公司,当然还有房主。 - Download JUnitPerf: A collection of JUnit test decorators used to measure performance and scalability.
下载JUnitPerf:一系列用于测量性能和可伸缩性的JUnit测试装饰器。 - A common use for decorators is to annotate static methods.
修饰符的一种常见用法是注释静态方法。 - Decorators do not currently let you modify class instantiation per se, but they can massage the methods that are attached to the class.
decorator目前并不允许您修改类实例化本身,但是它们可以修改依附于类的方法。