首页 / 词典 / good

mixin

  • 网络混合类型;米心;混进;糅合
mixinmixin
  1. A mixin type acts a lot like a decorator , providing extra characteristics to a node .

    混合类型更像修饰器,向节点提供额外的特征。

  2. In the simplest case , you can perform versioning by adding a mix : versionable mixin type to any node .

    在最简单的情况下,只需将mix:versionable混合类型添加到任何节点,就可以执行版本管理。

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

    还为mixin的父类构造了一个接口。

  4. Then only GUI components could be extended by our mixin .

    那么我们的mixin只能继承GUI组件。

  5. There are three things to note in this mixin

    这个mixin中有三点需要注意

  6. In addition to the primary node type , a node may also have one or more mixin types .

    除了主节点类型之外,节点还可以有一个或多个混合(mixin)类型。

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

    “mixin类”是个有趣的概念,也常常是个很好的设计选择。

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

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

  9. An instance mixin is a mixin applied to a specific instance of a component .

    实例混合是一个应用于特定组件实例上的混合。

  10. Basically , @ mixin is a user-defined function .

    基本上来说,@mixin是一种用户定义的函数。

  11. A mixin can implement multiple interfaces .

    一个mixin可以实现多个接口。

  12. Adjust the fuel mixin the jet pack .

    调节下喷气机里的混合燃料。

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

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

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

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

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

    目的:研究羊骨提取的骨盐乳剂对米心红茶原料的固定理氟作用。

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

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

  17. I 'd be mixin ' up a bathtub full of eggnog

    我肯定正在调一整浴缸的圣诞蛋酒

  18. Each instantiation of a mixin is compiled to a separate Java class ; no sharing of bytecode occurs across copies .

    mixin的每个实例化被编译成独立的Java类;各个副本上不存在任何共享的字节码。

  19. Then the mixin instantiation Scrollable would contain two methods getSize with identical ( empty ) parameter types , but incompatible return types !

    随后mixin实例化Scrollable会包含两个带有同样(空)参数类型的方法getSize,但返回类型不一致!

  20. 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)。

  21. Widgets that use this mixin need to override the function'initializeStrings ' , and populate it with calls to the getString function .

    使用这个mixin的小部件需要覆盖函数‘initializeStrings’,并通过调用getString函数填充它。

  22. 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。

  23. 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类型,它允许两个已重载的方法可用并且这两个方法都不是比较特定的情况。

  24. Because a mixin 's parent may be instantiated with a type parameter , there is no way for the type checker to determine all cases of accidental method overriding .

    因为mixin的父类可能用类型参数被实例化,因此类型检查器就不能确定意外方法覆盖的所有情况。

  25. In the course of this article , you 've already encountered the namespaces jcr for JCR internal properties , mix for mixin types , and nt for node types .

    jcr用于JCR的内部属性,mix用于混合类型,nt用于节点类型。

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

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

  27. One really big problem that arises with any formulation of mixins is that the method names of a particular mixin may clash with the method names of a potential instantiation of its superclass .

    任何mixin公式都会产生一个非常严重的问题:特定mixin的方法名可能与其超类的潜在实例化的方法名冲突。

  28. A class obtained by instantiating a mixin M on a parent class P should have the same behavior as a usual heir of P whose body contains a copy of all the components defined in M.

    通过实例化父类P上的mixinM而获得的类应该具有与P的一般继承者相同的行为,其主体包含M中定义的所有组件的副本。

  29. In the Jam extension to the Java language , the type of the superclass of a mixin has no name ; we simply can 't refer to it in the body of the mixin .

    在Java语言的Jam扩展中,mixin的超类类型没有名称;我们就不能在mixin主体中引用它。

  30. 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团队有意探究这样的扩展)。