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
双语例句
- There's a loophole when synchronizing on a mutable field, however, which can break down mutual exclusion.
然而,易变域的同步中会有一个漏洞,它可能破坏互斥。 - VB allows both mutable and immutable anonymous types, with subtly different rules for each.
而VB却同时支持可变和不可变的匿名类型,对于这两种匿名类型,实现和使用的规则也略有不同。 - One approach to this issue is to minimize mutable state in the database.
此问题的一种解决方法是要最大限度地减少数据库中的可变状态。 - Because a list is mutable, it can't be used as the key in a dictionary.
因为list是易变的,所以它不能作为dictionary中的键。 - If the programmer wants a mutable value, he should say so explicitly.
如果程序员需要一个可变的值,可以显式地指定。 - If an object is mutable, you have to exercise some care when storing a reference to it.
如果对象是可变的,就必须在存储对其的引用时引起注意。 - 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也可以持有不同类型的数据(或不同类型的对象),这就是我所说的异构的可变序列。 - Lists, specifically, are handy mutable objects that can conveniently even hold multiple values.
明确的讲,列表是一些便利的可变对象,他们甚至可以方便地保留多个值。 - Pass-by-copy semantics for mutable serializable objects when running in a single address space.
在单一地址空间中运行时,易变的可序列化对象的Pass-by-copy语义。 - And this all can be done with no mutable state in the client code.
在客户代码中,这些都可以在不使用可变状态的情况下就能做到。