MY字典>英语词典>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

      双语例句

      • Formally, a dictionary in Python is a heterogeneous, mutable, mapping container data type.
        按照正式的说法,Python中的dictionary是一种异构的、易变的映射容器数据类型。
      • Gemini and Sagittarius are both Mutable Signs and are thus extremely compatible.
        双子和射手都是变化的星座,都极为相合。
      • If an object is mutable, you have to exercise some care when storing a reference to it.
        如果对象是可变的,就必须在存储对其的引用时引起注意。
      • In Java code, data structures are mutable by default, and you must add more code to make them act immutably.
        在Java代码中,默认情况下数据结构是可变的,必须添加更多的代码,才能使它们具有不变的行为。
      • Lists are like tuples, except that they're mutable.
        列表与tuple类似,只不过它们是可变的。
      • While mutable containers are very flexible, their dynamic nature can result in a performance hit.
        虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。
      • If the programmer wants a mutable value, he should say so explicitly.
        如果程序员需要一个可变的值,可以显式地指定。
      • It is also possible to create tuples which contain mutable objects, such as lists.
        也可以通过包含可变对象来创建元组,例如链表。
      • Mutable state and locks are problematic for many reasons.
        出于多种原因,可变状态和锁容易出问题。
      • VB allows both mutable and immutable anonymous types, with subtly different rules for each.
        而VB却同时支持可变和不可变的匿名类型,对于这两种匿名类型,实现和使用的规则也略有不同。