Immutable classes make a host of typically worrisome things in java go away .
不可变类驱散了java中许多典型的令人烦心的事情。
Because changes only occur upon construction , immutable classes make it trivial to write unit tests .
因为变化只会发生构造函数中,因此不变类把编写单元测试变成了一件微不足道的事情。
Immutable objects are also automatically thread-safe and have no synchronization issues .
不可变对象也是自动线程安全的,不存在同步问题。
When used as constructor parameters , the mutable or immutable variables specified will be initialized when an object is instantiated .
当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。
For one , the pattern of inequality at the top has not followed some immutable global law of economics .
例如,富有人群的不平等模式,没有遵循某些不可改变的全球经济学法则。
There are no virtual banknote files with an immutable digital identity flitting around the system .
在这个系统中不存在有一成不变的数字身份的虚拟钞票文件。
Markets , unlike nature , are not governed by immutable laws but by compensation schemes and banking regulations .
和大自然不同,控制市场的不是恒久不变的法则,而是薪酬方案和银行监管规定。
Too many german leaders seem to take the economy 's export orientation as immutable .
太多的德国领导人似乎将经济的出口定位视为永恒。
Some fear washington gridlock could threaten the seemingly immutable strength of stocks in the third presidential year .
一些人担心华盛顿僵局可能将威胁总统任期第三年股市似乎永恒不变的强势。
Aristotle had maintained that all celestial objects were perfect and immutable spheres , and that the stars made a dizzying daily journey around the center of the universe , our stationary earth .