找诗词>英语词典>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

      双语例句

      • When mutable state goes away, almost all concurrency problems go away with it.
        可变状态消失时,差不多所有的并发性问题也随之消失。
      • Gemini and Sagittarius are both Mutable Signs and are thus extremely compatible.
        双子和射手都是变化的星座,都极为相合。
      • It is also possible to create tuples which contain mutable objects, such as lists.
        也可以通过包含可变对象来创建元组,例如链表。
      • Pass-by-copy semantics for mutable serializable objects when running in a single address space.
        在单一地址空间中运行时,易变的可序列化对象的Pass-by-copy语义。
      • Having this method available can be helpful in the application in general because now the singleton becomes easily mutable.
        总之,在应用程序中增加这个方法是很有用的,因为我们现在可以轻松地修改单一实例。
      • Formally, a dictionary in Python is a heterogeneous, mutable, mapping container data type.
        按照正式的说法,Python中的dictionary是一种异构的、易变的映射容器数据类型。
      • In Java code, data structures are mutable by default, and you must add more code to make them act immutably.
        在Java代码中,默认情况下数据结构是可变的,必须添加更多的代码,才能使它们具有不变的行为。
      • 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也可以持有不同类型的数据(或不同类型的对象),这就是我所说的异构的可变序列。
      • And this all can be done with no mutable state in the client code.
        在客户代码中,这些都可以在不使用可变状态的情况下就能做到。
      • Because a list is mutable, it can't be used as the key in a dictionary.
        因为list是易变的,所以它不能作为dictionary中的键。