immutability
英
美
n. 不变;永恒性;不变性
BNC.43460 / COCA.38318
英英释义
noun
- the quality of being incapable of mutation
- Darwin challenged the fixity of species
双语例句
- 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关键字是为了帮助开发人员创建不可变类,并允许编译器和运行时环境以声明的不可变性为基础进行优化。 - Similar moral value exists for its particularity and contemporaneity as well as its universality and 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.
不变性是函数式编程的关键,因为它与尽量减少变化部分的这一目标相一致,这使得对这些部分的推断更为容易一些。 - 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的实例,从而简化了程序的逻辑。 - Education equity has the character of objectivity, regularity, relativity, dynamic and immutability.
教育公平具有客观性、规律性、相对性、动态性和永恒性等特征。 - Use magnetic torque type capping heads, automatic grasping cover, screw cap, immutability torque capping function.
采用磁力扭矩式封盖头,自动抓盖、拧盖,有恒力矩封盖功能。 - Farmers all over the world know the importance and immutability of the seasons.
全世界的农民们都明白季节的重要性和永恒性。 - Embracing immutability is high on the list of ways to think like a functional programmer.
在像函数式编程者那样思考的方法列表中,维护不变性处于列表的较高位置。 - By not exposing a setter method, the code is more concise and also provides the additional benefit of enforcing immutability.
通过不暴露setter方法,代码愈发紧凑并且还提供了域不可修改的额外益处。 - 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回写到,比方说:域模型或其他东西,就会更改它的持久性,同时人们也认为它是反模式的。