词语吧>英语词典>immutability翻译和用法

immutability

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

经济

BNC.43460 / COCA.38318

英英释义

noun

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

双语例句

  • By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
    通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。
  • In "To mutate, or not to mutate"( and others), I extolled the virtues of immutability& immutable objects cannot get into an inconsistent state.
    在“变还是不变?”(和其他文章中),我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。
  • Location independence and the guarantee of immutability of LSIDs make them perfect candidates for database cross-references.
    LSID的位置独立性和不变性的保证使其成为数据库交叉引用的极佳候选。
  • The final keyword was included in the Java language to assist developers in creating immutable classes, and enable compilers and runtime environments to optimize on the basis of declared immutability.
    Java语言中包括final关键字是为了帮助开发人员创建不可变类,并允许编译器和运行时环境以声明的不可变性为基础进行优化。
  • Structural sharing relies on the data's immutability to make sharing possible between the old and new instances of the data.
    结构共享依靠数据的不可变性使数据新旧实例之间的共享成为可能。
  • Failed to get the activity model immutability.
    无法获得活动模型永久性。
  • Because Java is optimized for manipulating state, you have to work around some of those mechanisms to gain the benefits of immutability.
    因为Java已针对操纵状态进行了优化,因此您不得不绕过这样的一些机制来获得的不变性的一些好处。
  • 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回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。
  • In this installment, I discuss one of the building blocks of functional programming: immutability.
    在这一部分中,我讨论的是函数式编程的基石之一:不变性。
  • Embracing immutability is high on the list of ways to think like a functional programmer.
    在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。