词语站>英语词典>mutable翻译和用法

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
        1. a mutable substance
        2. the mutable ways of fortune
        3. mutable weather patterns
        4. a mutable foreign policy
        Synonym:changeable

      双语例句

      • One approach to this issue is to minimize mutable state in the database.
        此问题的一种解决方法是要最大限度地减少数据库中的可变状态。
      • If the programmer wants a mutable value, he should say so explicitly.
        如果程序员需要一个可变的值,可以显式地指定。
      • In embedded systems with no mutable storage, the initrd is the permanent root file system.
        在没有存储设备的嵌入式系统中,initrd是永久的根文件系统。
      • While mutable containers are very flexible, their dynamic nature can result in a performance hit.
        虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。
      • In Java code, data structures are mutable by default, and you must add more code to make them act immutably.
        在Java代码中,默认情况下数据结构是可变的,必须添加更多的代码,才能使它们具有不变的行为。
      • In some embedded systems, there's no need to provide a mutable file system: An immutable one will suffice.
        在某些嵌入式系统中,没有必要提供可更改的文件系统:一个不可更改(immutable)的文件系统已经足够。
      • Scala also will not prevent you from writing code with mutable state.
        Scala也不会阻止您在可变状态下编写代码。
      • Lists are like tuples, except that they're mutable.
        列表与tuple类似,只不过它们是可变的。
      • When mutable state goes away, almost all concurrency problems go away with it.
        可变状态消失时,差不多所有的并发性问题也随之消失。
      • Formally, a dictionary in Python is a heterogeneous, mutable, mapping container data type.
        按照正式的说法,Python中的dictionary是一种异构的、易变的映射容器数据类型。