immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- In the next installment, I'll talk in depth about one of functional programming's building blocks: immutability.
在下一期文章中,我将深入介绍函数编程中的重要概念:不可变性。 - Package, is a good example of how to harness the power of immutability while still permitting occasional modifications.
类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。 - 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.
对那些大谈有限事物以及主观事物和客观事物的固定性和不可克服性的人来说,每一个意欲的活动都可以提供相反的例证。 - Immutability also allows us to simplify reasoning about concurrency and provide cheap reads of shared data.
不可变性还允许我们简化有关并发性的推理,并提供读取共享数据的低成本方法。 - 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回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。 - Use magnetic torque type capping heads, automatic grasping cover, screw cap, immutability torque capping function.
采用磁力扭矩式封盖头,自动抓盖、拧盖,有恒力矩封盖功能。 - 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关键字是为了帮助开发人员创建不可变类,并允许编译器和运行时环境以声明的不可变性为基础进行优化。 - 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的实例,从而简化了程序的逻辑。 - Mostly, it embodies some characteristics of freedom and immutability.
壁画的时空建构与一般架上绘画相比体现为一种自由性和永恒性。 - By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。