就爱字典>英语词典>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.
        此问题的一种解决方法是要最大限度地减少数据库中的可变状态。
      • In Java code, data structures are mutable by default, and you must add more code to make them act immutably.
        在Java代码中,默认情况下数据结构是可变的,必须添加更多的代码,才能使它们具有不变的行为。
      • While mutable containers are very flexible, their dynamic nature can result in a performance hit.
        虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。
      • Lists, specifically, are handy mutable objects that can conveniently even hold multiple values.
        明确的讲,列表是一些便利的可变对象,他们甚至可以方便地保留多个值。
      • Because a list is mutable, it can't be used as the key in a dictionary.
        因为list是易变的,所以它不能作为dictionary中的键。
      • Formally, a dictionary in Python is a heterogeneous, mutable, mapping container data type.
        按照正式的说法,Python中的dictionary是一种异构的、易变的映射容器数据类型。
      • In embedded systems with no mutable storage, the initrd is the permanent root file system.
        在没有存储设备的嵌入式系统中,initrd是永久的根文件系统。
      • It should yield a mutable sequence object ( e.g., a list).
        这应给出一个可变有序对象(比如列表)。
      • Agents provide a layer of indirection between the holder of a variable and the mutable state itself.
        Agents在变量持有者与可变状态本身之间提供一层间接关系。
      • 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也可以持有不同类型的数据(或不同类型的对象),这就是我所说的异构的可变序列。