mutable
英 [ˈmjuːtəbl]
美 [ˈmjuːtəbl]
adj. 可变的; 会变的
BNC.42039 / COCA.28523
牛津词典
adj.
- 可变的;会变的
that can change; likely to change
英英释义
adj
- capable of or tending to change in form or quality or nature
- a mutable substance
- the mutable ways of fortune
- mutable weather patterns
- a mutable foreign policy
双语例句
- In Java code, data structures are mutable by default, and you must add more code to make them act immutably.
在Java代码中,默认情况下数据结构是可变的,必须添加更多的代码,才能使它们具有不变的行为。 - And I pointed out that lists are mutable, showed you some examples of mutation.
我提到了数组是可变的,并给你们举了一些例子。 - Lists are mutable, but what exactly does that mean?
列表是可变的,但是如何正确的改变呢? - While mutable containers are very flexible, their dynamic nature can result in a performance hit.
虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。 - If the programmer wants a mutable value, he should say so explicitly.
如果程序员需要一个可变的值,可以显式地指定。 - And this all can be done with no mutable state in the client code.
在客户代码中,这些都可以在不使用可变状态的情况下就能做到。 - Agents provide a layer of indirection between the holder of a variable and the mutable state itself.
Agents在变量持有者与可变状态本身之间提供一层间接关系。 - It is also possible to create tuples which contain mutable objects, such as lists.
也可以通过包含可变对象来创建元组,例如链表。 - In embedded systems with no mutable storage, the initrd is the permanent root file system.
在没有存储设备的嵌入式系统中,initrd是永久的根文件系统。 - And just like a tuple, a list can hold different types of data ( or different types of objects). This is what I mean by a heterogeneous mutable sequence.
就像tuple一样,list也可以持有不同类型的数据(或不同类型的对象),这就是我所说的异构的可变序列。