mutator

英['mjuːteɪtə] 美['mjuːteɪtə]
  • n. 增变基因;赋值函数;设置方法
  • mutable adj.可变的;易变的;反复无常的
  • mutably adv.无常地;性情不定地
  • mutagen n.诱变剂;诱变因素
  • mutagenic adj.诱导有机体突变的
  • mutant n.突变异种
1. Let us extend our Point class with a mutator.
让我们为Point扩展一个变换器。

youdao

2. A mutator method exists for each attribute of a structured type.
mutator方法是为某个结构化类型(structured type)的每个属性而存在的。

youdao

3. Each property has an accessor and a mutator (getter and setter).
每个属性具有一个accessor和mutator (getter和setter)。

youdao

4. You don't define a member variable and then provide accessor and mutator methods.
定义数据成员后不需要分别定义访问和修改的方法。

youdao

5. The deficiency of these mechanisms will cause the emergence of the mutator phenotype.
这些机制的缺陷将导致突变表型的出现。

youdao

6. The double-dot operator invokes mutator methods to set values for each of the address attributes.
双点运算符调用了mutator方法来设置每个地址属性的值。

youdao

7. If an abstract factory object must be passed in, then you must add a new public constructor or mutator.
如果必须传入抽象工厂对象,那么您必须添加一个新的公用构造函数或赋值(mutator)方法。

youdao

8. Such sources are read-only; thus, you should make their mutator methods private to minimize runtime failures.
这类数据源是只读的,因此应该将其mutator方法设为私有,以减少运行时错误。

youdao

9. The example above uses the attr() function, which is an accessor and mutator for the attributes of an element.
上面的例子使用了attr()函数,这是一个元素中的属性的 accessor和mutator。

youdao

10. This creates significant extra work for the mutator and garbage collector, but permits much shorter collection pauses.
这为赋值函数(mutator)和垃圾收集器带来了大量的额外工作,但是可以得到更短的收集暂停。

youdao

11. It then becomes easy to create setFoo property mutator methods that use the generated mutator methods under the hood.
然后,就可以方便地创建setfoo属性mutator方法,它在幕后使用生成的mutator方法。

youdao

12. Similarly, if we want to update the city attribute value, we can invoke its mutator method in the UPDATE statement ( Listing 2).
同样的,如果想更新城市属性值,可以调用UPDATE语句中的 mutator方法(清单2)。

youdao

13. To invoke a mutator or observer method on an instance of a structured type, use the double-dot (..) operator (Listings 1, 2, and 3).
为了在结构化类型的实例上调用mutator或observer方法,请使用双点(. .)运算符(清单1、清单2和清单3)。

youdao

14. To implement mutator methods, the new LinkedList class serves as a container for an internal, immutable list, as shown in Listing 5.
为了执行可变的方法,新的LinkedList类作为一个内部不可变的链表的容器,如清单5 所示。

youdao

15. The mutator and garbage collector can work together to maintain a comprehensive list of old-to-young references as they are created.
赋值函数(mutator)和垃圾收集器可以共同工作以在创建老到年轻的引用时维护它们的完整列表。

youdao

16. The Rope class is designed to be immutable, meaning that mutator functions never modify the original Rope instance, but, rather, return a modified copy.
Rope类被设计成不可修改,这意味着mutator函数永远不会修改原来的Rope实例,而是返回一个修改后的副本。

youdao

17. The second set of methods is the "mutator" methods, they create a new query() object with the relevant (internal)attribute either augmented or replaced.
第二组的方法是“突变”方法,他们创建一个新的查询()对象与相关(内部的)属性增强或取代。

youdao

18. Furthermore, the very same class of mutator enzymes plays an underappreciated role in non-lymphoid cancers, in antiviral responses and in epigenetic reprogramming.
此外,同一类的增变基因酶起着低估的作用,在非淋巴肿瘤,抗病毒反应,并在后生重新编程。

youdao

19. In both cases you need to declare the dependency (e.g. using the Spring configuration file) and add a corresponding constructor or mutator method to the dependent object class.
在这两种情况下,您都需要声明依赖项(例如使用Spring配置文件),并向依赖对象类添加对应的构造函数或mutator方法。

youdao

20. When you create a structured type, DB2 automatically creates a constructor function for the type and creates both mutator and observer methods for the attributes of the type.
当您创建结构化类型时,DB 2为类型自动创建一个构造函数,并为类型的属性创建mutator方法和observer方法。

youdao

21. The connection factory's constructor is parameterless, so the factory has mutator methods that can be invoked to control the properties of the connection the factory will supply.
连接工厂的构造器是无参数的,因此工厂有变异方法可以被调用,以控制工厂将提供的连接的特性。

youdao

22. To assess the feasibility of using clinical informations, pathological features, immunohistochemistry and microsatellite analysis to identify patients with the mutator phenotype.
评价应用临床信息,病理学特点和微卫星分析来鉴别具有突变子表型的散发性结直肠癌患者的可行性。

youdao

23. To remedy the previously mentioned anti-pattern, you can "hide the exposed instance variables and provide publicly exposed mutator and accessor methods as appropriate to access the object state."
要补救前面提到的反模式,您可以“隐藏暴露的实例变量,并且提供公开暴露的增变方法和访问方法,适用于访问对象状态”。

youdao

24. Reference counting is simple, but requires significant assistance from the compiler and imposes overhead on the mutator (the term for the user program, from the perspective of the garbage collector).
引用计数很简单,但是需要编译器的重要配合,并且增加了赋值函数(mutator)的开销(这个术语是针对用户程序的,是从垃圾收集器的角度来看的)。

youdao

25. Reference counting is simple, but requires significant assistance from the compiler and imposes overhead on the mutator (the term for the user program, from the perspective of the garbage collector).
引用计数很简单,但是需要编译器的重要配合,并且增加了赋值函数(mutator)的开销(这个术语是针对用户程序的,是从垃圾收集器的角度来看的)。

youdao