就爱字典>英语词典>immutability翻译和用法

immutability

n.  不变;永恒性;不变性

经济

BNC.43460 / COCA.38318

英英释义

noun

  • the quality of being incapable of mutation
    1. Darwin challenged the fixity of species
    Synonym:immutablenessfixity

双语例句

  • Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
    可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。
  • By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
    通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。
  • Failed to get the activity model immutability.
    无法获得活动模型永久性。
  • Immutability is key to functional programming because it matches the goals of minimizing the parts that change, making it easier to reason about those parts.
    不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。
  • Education equity has the character of objectivity, regularity, relativity, dynamic and immutability.
    教育公平具有客观性、规律性、相对性、动态性和永恒性等特征。
  • Embracing immutability is high on the list of ways to think like a functional programmer.
    在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。
  • This is by design, since having a DTO write back to e.g.a domain model would ( among other things) take away its immutability, and is often considered an anti-pattern.
    这需要通过设计完成,因为让DTO回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。
  • Those who talk of the permanence and immutability of the finite, as well subjective as objective, may see the reverse illustrated in the operations of every appetite.
    对那些大谈有限事物以及主观事物和客观事物的固定性和不可克服性的人来说,每一个意欲的活动都可以提供相反的例证。
  • Structural sharing relies on the data's immutability to make sharing possible between the old and new instances of the data.
    结构共享依靠数据的不可变性使数据新旧实例之间的共享成为可能。
  • Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
    LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。