immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- Because Java is optimized for manipulating state, you have to work around some of those mechanisms to gain the benefits of immutability.
因为Java已针对操纵状态进行了优化,因此您不得不绕过这样的一些机制来获得的不变性的一些好处。 - Package, is a good example of how to harness the power of immutability while still permitting occasional modifications.
类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。 - 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回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。 - The practice of immutability of the folk dance has experienced three stages: "changing from common to elegance"," evaluating content "and" from form to form ".
前人在把握民间舞蹈不可变性的创作实践中,经历了脱俗变雅,由内容出发和从形式到形式三个阶段。 - Embracing immutability is high on the list of ways to think like a functional programmer.
在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。 - Notice that in both cases, the test terminates when an exception is thrown because of a violation of the immutability contract.
可以注意到,在这两个用例中,测试会在抛出异常时终止,这是因为有语句违反了不可变性合约。 - Immutability confers a number of benefits, the chief one being that Rope instances can be shared without precaution in a multithreaded environment, thereby greatly simplifying program logic.
不可修改有许多好处,第一条好处就是不用考虑多线程环境就能共享Rope的实例,从而简化了程序的逻辑。 - Owing to their uniqueness and immutability, fingerprints have become the most widely used biometric feature in recent years.
由于指纹具有唯一性和终身不变性,正成为近年来应用最为广泛的生物特征。 - The president stressed once more the immutability of his country's borders.
总统再次强调了国家的边界不可改变。 - Farmers all over the world know the importance and immutability of the seasons.
全世界的农民们都明白季节的重要性和永恒性。