immutability造句
例句与造句
- Classes for representing complex numbers or arbitrary - precision rational numbers would be good candidates for immutability
表示复数或精度任意的有理数的类将比较适合于不变性。 - Brian goetz explains some of the benefits of immutability and some guidelines for constructing immutable classes
中, brian goetz说明了不变性的一些长处和构造不变类的一些准则。 - Package , is a good example of how to harness the power of immutability while still permitting occasional modifications
类是如何既利用不变性的能力,又仍允许偶尔修改的一个良好示例。 - " and others , i extolled the virtues of immutability - immutable objects cannot get into an inconsistent state
” (和其他文章中) ,我赞扬了不可变的优点,不可变对象不能进入不稳定的状态。 - The run - time system should take care of any semantics required to guarantee this immutability . a simple copy is often not sufficient
运行时系统应通过相关语义来保证这种不变性(简单的复制通常是不够的) 。 - It's difficult to find immutability in a sentence. 用immutability造句挺难的
- While immutability may not necessarily make sense for all classes , most programs have at least a few classes that would benefit from being immutable
尽管不变性可能未必对于所有类都有意义,但大多数程序中至少有一些类将受益于不可变。 - One of the most surprising failings of the jmm is that immutable objects , whose immutability was intended to be guaranteed through use of the
Jmm的其中一个最惊人的缺点是,不可变对象似乎可以改变它们的值(这种对象的不变性旨在通过使用 - Immutability is what enables the flyweight pattern , which uses sharing to facilitate using objects to represent large numbers of fine - grained objects efficiently
不变性启用了flyweight模式,该模式利用共享使得用对象有效地表示大量细颗粒度的对象变得容易。 - Constant data are obvious candidates for immutability , and objects with complex and frequently changing states are generally inappropriate candidates for implementation with immutable classes
常量数据显然符合不变性,而状态复杂且频繁更改的对象通常不适合用不变类来实现。 - 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
关键字是为了帮助开发人员创建不可变类,并允许编译器和运行时环境以声明的不可变性为基础进行优化。 - Contains a mutable reference to an immutable array , so as long as that reference is held fixed , you get all the thread - safety benefits of immutability without the need for locking
含有对一个不可变数组的一个可变的引用,因此,只要保留好那个引用,您就可以获得不可变的线程安全性的好处,而且不用锁定列表。 - The notion of immutability an object whose value cannot change once it s created is invaluable in multithreaded situations since read - only access to immutable objects doesn t have to be synchronized
由于对不变对象的访问不需要同步,所以在多线程条件下,不变的概念(一个对象的值在创建后不可更改)是无价的。 - It also discusses a number of significant semantics changes such as the introduction of implicit boxing , immutability of boxed value types , and the removal of support for default constructors within value classes
还讨论若干重大语义更改,例如隐式装箱的引入、装箱的值类型的不变性,以及对值类内部的默认构造函数的支持的移除。 - Considering the monotony and regularity of euclid arithmetic , the paper proposes a new multiple attribute decision making approach based on the ordinal euclid arithmetic , and the monotony , regularity and metathesis immutability of the ordinal euclid arithmetic are proved too
基于算子有序性的构建思想,本文提出并构建了基于有序欧几里德算子的区间数多属性决策算法模型,证明了有序欧几里德算子的单调性、齐次性和幂等性。 - Those characters showing as follows : ( 1 ) the thought orientation is immutability , which the rural matters settled by peasantry , ( 2 ) the restricted functions of the budget system soft up , ( 3 ) the types of the treasury of villages and towns take on hysteresis quality , ( 4 ) items of agricultural taxation are unreasonable , ( 5 ) the self - financing income content and the lecying of mode in villages and towns are variable
这些特征分别为: ( 1 )农村事情由农民办的思维定位固定性; ( 2 )预算制度约束功能的软化性; ( 3 )乡镇国库建设滞后性; ( 4 )农业税税种的不合理性; ( 5 )乡镇自筹收入内容和征收方式的变化性。