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
双语例句
- Lists are mutable, but what exactly does that mean?
列表是可变的,但是如何正确的改变呢? - Because a list is mutable, it can't be used as the key in a dictionary.
因为list是易变的,所以它不能作为dictionary中的键。 - One approach to this issue is to minimize mutable state in the database.
此问题的一种解决方法是要最大限度地减少数据库中的可变状态。 - Having this method available can be helpful in the application in general because now the singleton becomes easily mutable.
总之,在应用程序中增加这个方法是很有用的,因为我们现在可以轻松地修改单一实例。 - In some embedded systems, there's no need to provide a mutable file system: An immutable one will suffice.
在某些嵌入式系统中,没有必要提供可更改的文件系统:一个不可更改(immutable)的文件系统已经足够。 - While mutable containers are very flexible, their dynamic nature can result in a performance hit.
虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。 - It is also possible to create tuples which contain mutable objects, such as lists.
也可以通过包含可变对象来创建元组,例如链表。 - Mutable state and locks are problematic for many reasons.
出于多种原因,可变状态和锁容易出问题。 - Lists are like tuples, except that they're mutable.
列表与tuple类似,只不过它们是可变的。 - Scala also will not prevent you from writing code with mutable state.
Scala也不会阻止您在可变状态下编写代码。