mixin
mixin在中文中有"混合插入、混入"的意思,其中文解释还有"混合类型"的意思,读音为['mɪksɪŋ],在英语中以名词出现较多,以下是参考《剑桥高阶英语学习词典》等英语词典,mixin相关的近义词和例句。
mixin的中文翻译
1.混合插入
例句:Alternately, you may prefix the name of the parameter with the unqualified name of the Mixin class; this eliminates the ambiguity. Example.
翻译:另外,你可以使用混合类的绝对名作为参数的前缀名。这可以去除不明确的情况,例如。
来源:剑桥高阶英语学习词典
2.混入
例句:Also notice that the type checker can't even check that every instantiation of a mixin will result in valid super-constructor calls.
翻译:而且请注意,类型检查器甚至不能检查是否每个mixin实例化都会产生有效的超级构造函数调用。
来源:剑桥高阶英语学习词典
3.混合类型
例句:# Will his battle be lost by mixin' the races?
翻译:人种共存会使他丧失斗智?。
来源:剑桥高阶英语学习词典
4.和…完全混合、混合类型
例句:The callback logic is a good example of a mixin.
翻译:这个回调逻辑就是mixin的一个不错例子。
来源:剑桥高阶英语学习词典
用法及短语示例
mixin一般作为名词使用,在常见短语或俚语中出现较多。
英语例句
1. # Will his battle be lost by mixin' the races?
翻译:人种共存会使他丧失斗智?。
2. The callback logic is a good example of a mixin.
翻译:这个回调逻辑就是mixin的一个不错例子。
3. Mixins can be instantiated with different parent cl depending on the requirements of a particular context.
翻译:根据特定上下文的要求,可以用不同的父类实例化mixin。
4. in this solution, a mixin is associated with a view that determines which method to call in the case of a name clash.
翻译:在这个解决方案中,mixin包含有这样的观点:确定在名称不一致的情况中要调用哪个方法。
5. in Jam, the methods required in the parent class are declared with declarations inside the mixin class def, like this: inherited .
翻译:在Jam中,使用mixin类def内的声明来声明父类所需的方法,类似于:inherited。
6. it turns out that there is — it's known as a mixin.
翻译:答案是有的—它就是mixin。
7. Mixins and generic cl: a perfect match.
翻译:mixin和泛型类:完美组合。
8. An instance mixin is a mixin applied to a specific instance of a component.
翻译:实例混合是一个应用于特定组件实例上的混合。
9. Thus, in Jam, the visitor pattern can't be used with mixins.
翻译:因此,在 Jam 中,访问者模式不能和 mixin 一起使用。
10. By incorporating mixins using generic types, we are able to work around many of the key limitations of other formulations of mixins.
翻译:通过使用泛型类型合并mixin,我们能解决其它mixin公式的许多关键限制。
11. The name mixin was used because such cl can be mixed together with other cl in various ways.
翻译:之所以使用mixin这个名称,是因为这样的类可以以各种方式与其它类混合在一起。
12. He's mixin' up numbers on important documents.
翻译:还在重要的文件上乱动手脚。
13. This is where a very useful feature comes in: Mixins.
翻译:Ruby一个非常有用的特性Mixin可以帮我们完成这方面的工作。
14. Each instantiation of a mixin is compiled to a separate Java class; no sharing of bytecode occurs across copies.
翻译:mixin的每个实例化被编译成独立的Java类;各个副本上不存在任何共享的字节码。
15. A "mixin class" is an interesting concept, and is often a good design choice.
翻译:“mixin类”是个有趣的概念,也常常是个很好的设计选择。