网站首页  词典首页

请输入您要查询的英文单词:

 

单词 mix in
释义

mix in

美 ['m?ks??]
英 ['m?ks??]
  • v.和…完全混合
  • 网络混入;混合插入;混合类型
v.
1.
和...完全混合

例句

释义:
1.
In this solution, a mixin is associated with a view that determines which method to call in the case of a name clash.
在这个解决方案中,mixin包含有这样的观点:确定在名称不一致的情况中要调用哪个方法。
www.ibm.com
2.
A "mixin class" is an interesting concept, and is often a good design choice.
“mixin类”是个有趣的概念,也常常是个很好的设计选择。
www.ibm.com
3.
Alternately, you may prefix the name of the parameter with the unqualified name of the Mixin class; this eliminates the ambiguity. Example.
另外,你可以使用混合类的绝对名作为参数的前缀名。这可以去除不明确的情况,例如。
www.javaeye.com
4.
Mixins can be instantiated with different parent classes depending on the requirements of a particular context.
根据特定上下文的要求,可以用不同的父类实例化mixin。
www.ibm.com
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。
www.ibm.com
6.
The name mixin was used because such classes can be mixed together with other classes in various ways.
之所以使用mixin这个名称,是因为这样的类可以以各种方式与其它类混合在一起。
www.ibm.com
7.
Each instantiation of a mixin is compiled to a separate Java class; no sharing of bytecode occurs across copies.
mixin的每个实例化被编译成独立的Java类;各个副本上不存在任何共享的字节码。
www.ibm.com
8.
An instance mixin is a mixin applied to a specific instance of a component.
实例混合是一个应用于特定组件实例上的混合。
www.javaeye.com
9.
Also notice that the type checker can't even check that every instantiation of a mixin will result in valid super-constructor calls.
而且请注意,类型检查器甚至不能检查是否每个mixin实例化都会产生有效的超级构造函数调用。
www.ibm.com
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公式的许多关键限制。
www.ibm.com
1.
The reason: both mixins and generic classes can be thought of as functions mapping existing classes to new classes.
原因是:mixin和泛型类都能被认为是将现有类映射到新类的函数。
www.ibm.com
2.
Nevertheless, it's a very unfortunate restriction because it limits the set of classes eligible to be turned into mixins.
然而它仍是一个非常遗憾的约束,因为它限制了适合于转换成mixin的类集合。
www.ibm.com
3.
A potential show-stopper, passing "this" as an argument to a method or a constructor from inside a mixin is forbidden!
可能的显示阻塞(show-stopper)将“this”作为参数从mixin内部传递给方法或构造器,这是被禁止的!
www.ibm.com
4.
But it is appealing, almost seductive, to incorporate mixins as part of a generic type system.
但是合并mixin以作为泛型类型系统的一部分很吸引人,几乎可以说魅力无穷。
www.ibm.com
5.
Constructors cannot be declared in a mixin, but only for mixin instantiations.
在mixin中不能声明构造器,它只适用于mixin实例化。
www.ibm.com
6.
A mixin type acts a lot like a decorator, providing extra characteristics to a node.
混合类型更像修饰器,向节点提供额外的特征。
www.ibm.com
7.
In the simplest case, you can perform versioning by adding a mix: versionable mixin type to any node.
在最简单的情况下,只需将mix:versionable混合类型添加到任何节点,就可以执行版本管理。
www.ibm.com
8.
If no constructors are specified in a mixin instantiation, the default zero-argument (zeroary) constructor is assumed.
如果在mixin实例化中没有指定任何构造器,那么就假定是缺省的不带参数的(zeroary)构造器。
www.ibm.com
9.
Mixins can be viewed as functions mapping existing classes to new subclasses.
mixin可被视为将现有类映射成新子类的函数。
www.ibm.com
10.
Subclass to you heart's content, mixin any modules into your domain classes. It just works.
子类化你的核心内容,为你的领域类混入任意模块,这正好能正常工作。
www.infoq.com
1.
When mixins are formulated as generic classes, the problem of accidental overrides is particularly nasty.
当mixin被明确表述为泛型类时,意外覆盖的问题特别讨厌。
www.ibm.com
2.
The reason: a mixin's parameters may be instantiated with type parameters bound in some other context.
其原因是:在某些其它上下文中,mixin的参数可能用类型参数界限实例化了。
www.ibm.com
3.
With mixins formulated as generic classes, we always have a handle on the parent class, the type parameter that the class extends.
将mixin明确表述为泛型类,我们就始终有父类的句柄,它是该类继承的类型参数。
www.ibm.com
4.
However, there are other significant difficulties with formulating mixins as generic types.
但是,将mixin明确表述为泛型类型时有其它一些明显的困难。
www.ibm.com
5.
Scala provides a complete mixin solution, called traits.
Scala提供了完整的混合(mixin)解决方案,称为Traits。
www.bing.com
6.
An interface is also constructed for the parent of the mixin.
还为mixin的父类构造了一个接口。
www.ibm.com
7.
Then only GUI components could be extended by our mixin.
那么我们的mixin只能继承GUI组件。
www.ibm.com
8.
Jam is a backward-compatible extension of the Java platform, v1. 0 (with two new keywords: mixin and inherited).
Jam是一种向后兼容的Java平台V1.0扩展(带有两个新关键字:mixin和inherited)。
www.ibm.com
9.
Mixins are classes that are parameterized by their parent class.
mixin是那些由它们的父类参数化的类。
www.ibm.com
10.
Widgets that use this mixin need to override the function 'initializeStrings', and populate it with calls to the getString function.
使用这个mixin的小部件需要覆盖函数‘initializeStrings’,并通过调用getString函数填充它。
www.ibm.com
1.
Although mixins are simply a design pattern in these languages, there's no reason why they can't be supported at the language level.
尽管mixin只是这些语言中的一种设计模式,但在语言级别上支持它们应该是毫无问题的。
www.ibm.com
2.
The proxy package also provides support for net. sf. cglib. proxy. Mixin.
CGLIB的代理包也对net.sf.cglib.proxy.Mixin提供支持。
blog.sina.com.cn
3.
Static members are associated with instantiations of mixins; there are no "shared" static members of mixins.
静态成员与mixin的实例化相关联;没有“可共享”的mixin静态成员。
www.ibm.com
4.
In the case of mixins as generic types, we can apply the same solution.
在mixin作为泛型类型的情况中,我们可以应用同样的解决方案。
www.ibm.com
5.
Thus, in Jam, the visitor pattern can't be used with mixins.
因此,在Jam中,访问者模式不能和mixin一起使用。
www.ibm.com
6.
This is where a very useful feature comes in: Mixins.
Ruby一个非常有用的特性Mixin可以帮我们完成这方面的工作。
www.infoq.com
7.
Without it, there is no way to ensure that a Jam mixin type will be valid across all possible instantiations.
没有它,就无法确保Jammixin类型将在所有可能的实例化上都是有效的。
www.ibm.com
8.
These are just ordinary Ruby Modules that are mixed into anclass definition.
Mixin只是一般的Ruby模块,不过可以把他们混入到一个类的定义中。
www.infoq.com
9.
There are three things to note in this mixin
这个mixin中有三点需要注意
www.ibm.com
随便看

 

英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2025/1/31 15:04:37