• A mixin can implement multiple interfaces.

    一个mixin可以实现多个接口

    youdao

  • The callback logic is a good example of a mixin.

    这个回调逻辑就是mixin一个不错例子

    youdao

  • It turns out that there is — it's known as a mixin.

    答案有的—就是mixin

    youdao

  • Scala provides a complete mixin solution, called traits.

    Scala提供完整的混合(mixin)解决方案称为Traits。

    youdao

  • An interface is also constructed for the parent of the mixin.

    mixin构造一个接口

    youdao

  • The first use of the word mixin originated with the Lisp community.

    词语mixin初次使用源自Lisp社区

    youdao

  • The Resource Template Mixin builds upon the concept of OS Templates.

    资源模板Mixin建立操作系统模板之上。

    youdao

  • Additionally, Jam imposes five constraints on the instantiation of a mixin.

    另外Jammixin实例化强加了五个约束

    youdao

  • A "mixin class" is an interesting concept, and is often a good design choice.

    mixin是个有趣的概念常常是个很好的设计选择

    youdao

  • Constructors cannot be declared in a mixin, but only for mixin instantiations.

    mixin不能声明构造器,它适用于mixin实例化。

    youdao

  • However, unlike an abstract class, a mixin does not try to contain the framework for a child.

    然而抽象不同的mixin并不试图包括子类框架

    youdao

  • The name mixin was used because such classes can be mixed together with other classes in various ways.

    之所以使用 mixin这个名称是因为这样可以各种方式其它混合在一起

    youdao

  • This parent interface is extended by the mixin interface (but not by the instantiations of the parent class).

    这个接口mixin接口继承(而不是由父类的实例化继承而来)。

    youdao

  • Without it, there is no way to ensure that a Jam mixin type will be valid across all possible instantiations.

    没有无法确保Jammixin类型所有可能的实例化上都是有效的。

    youdao

  • In Figure 2, we've turned class Scrollable into a mixin that can extend different classes in different contexts.

    2中,我们已经类Scrollable转换mixin可以继承不同上下文中的同类

    youdao

  • In this solution, a mixin is associated with a view that determines which method to call in the case of a name clash.

    这个解决方案中,mixin包含这样观点确定名称不一致情况中调用哪个方法

    youdao

  • 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内部传递方法构造器,这被禁止的!

    youdao

  • If no constructors are specified in a mixin instantiation, the default zero-argument (zeroary) constructor is assumed.

    如果mixin实例化中没有指定任何构造器,那么就假定是缺省的不带参数的(zeroary)构造器。

    youdao

  • Also notice that the type checker can't even check that every instantiation of a mixin will result in valid super-constructor calls.

    而且注意类型检查甚至不能检查是否每个mixin实例化都会产生有效的超级构造函数调用。

    youdao

  • Mixins in Jam, like ordinary classes, define types; mixin instantiations have both the type of the mixin and the type of the parent.

    Jam中的mixin普通相似定义类型mixin实例拥有mixin类型父类类型。

    youdao

  • Objective: To Study the effect of fixing-fluoride of bone salt emulsion extracted from sheep bone for raw material of Mixin black tea.

    目的研究提取乳剂米心红茶原料的固定理氟作用

    youdao

  • Class abstractions are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.

    Class抽象子类一种灵活的基于mixin组合机制(它可作为多重继承的简单替代方案)来扩展

    youdao

  • This was sometimes called a "mixin" in C++, though not to be confused with Ruby mixins (or the Scala mixin, which I'll discuss in a later article.)

    有时 C++ 中称为混合”,Ruby混合文中探讨Scala 混合)有所不同。

    youdao

  • Although the concept of mixins has been applied to many languages, Jam is novel in that it introduces mixin-based programming rigorously in the context of a strongly typed language.

    尽管mixin概念已经应用到了许多语言中,但是Jam还是很新颖,因为严格类型化语言上下文中严格引入了基于mixin编程

    youdao

  • Jam mixins can be instantiated only on classes; unlike components in Jiazzi, there is no notion of mixin composition (however, the Jam team would like to explore such an extension).

    只能根据实例Jammixin;与Jiazzi中的组件不同,Jam中没有mixin组合概念(但是,Jam团队有意探究这样的扩展)。

    youdao

  • Ambiguous overloading is a problem because method arguments may be of mixin type, allowing for situations in which two overloaded methods are applicable and neither is more specific.

    不明确重载是个问题因为方法参数可能mixin类型它允许个已重载方法可用并且两个方法不是比较特定情况

    youdao

  • Ambiguous overloading is a problem because method arguments may be of mixin type, allowing for situations in which two overloaded methods are applicable and neither is more specific.

    不明确重载是个问题因为方法参数可能mixin类型它允许个已重载方法可用并且两个方法不是比较特定情况

    youdao

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

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

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