然而,tuple是不可变的。
可标记的不可变set和map
其中之一就是不可变属性。
创建和返回一个不可变的物理资源表示。
Create and return an immutable physical resource representation.
该类的实例是不可变的。
而是返回该数据结构的一个新的不可变版本。
Rather, a new immutable version of the data structure is returned.
Ceylon鼓励尽可能使用不可变的属性。
Ceylon encourages the use of immutable attributes whenever possible.
也是不可变的,周期是97分钟。
清单1中列出了一个满足上述要求的不可变类。
An immutable class that meets the previous requirements appears in Listing 1.
slices是逻辑片标识的一个不可变列表。
(不可变类的一个优点就是它们是线程安全的)。
One advantage of immutable classes is that they are thread-safe.
关于他们有一点很关键的,就是他们都是不可变的。
The key thing about both of them is that they were immutable.
如文中所述,tuple类型是不可变的异构容器。
As discussed, the tuple type is an immutable heterogeneous container.
使文件不可变通常是安全或者入侵检测工作的一部分。
Making files immutable is often done as part of a security or intrusion detection effort.
特定工作区或流中的某个组件的不可变副本称为基准。
An immutable copy of a component in a particular workspace or stream is called a baseline.
这篇文章演示了tuple,这是一个不可变的序列。
That article demonstrated the tuple, which is an immutable sequence.
Scala鼓励你在任何可能的时候使用不可变的值。
Scala encourages you to use immutable values whenever possible.
一种常用的列表类型是tuple,它是不可变的。
One common type of list is called a tuple, and as noted, it's immutable.
严格来说,在RUP 中您采用各阶段的顺序是不可变的。
Strictly speaking, the order in which you undertake phases in RUP is immutable.
那时,执行一个不可变的链表是直截了当的,如清单6所示。
Implementation of the immutable lists is then straightforward, as shown in Listing 6.
表示时间上的不可变瞬间的joda类都属于这个类的子类。
Joda classes that represent immutable instants in time are subclasses of this one.
那么为什么不在一开始就使得Point 成为不可变的呢?
对不可变数据的更改包括构建数据新版本并从新版本开始工作。
Modifying immutable data consists of building a new version of the data and working from the new version.
因此,您永远都不该为一个不可变类提供一个无参数的构造函数。
Thus, you should never have a no-argument constructor for an immutable class.
这些类型是不可变的,就是说整数对象一旦创建,其值便不可更改。
These types are immutable, which means that when an integer object is created, its value cannot be changed.
此外,对于对象引用的数据成员,引用的对象必须是有效不可变的。
Further, for data members that are object references, the referred-to objects must be effectively immutable.
一个计划不需要多么复杂,多么牢不可变。你可能,例如
A plan doesn't need to be complicated, or rigidly inflexible. You might, for instance
一旦创建,U CM基线是不可变的,并且能用于定义更高级的配置。
Once created, UCM baselines are immutable and can be used for defining higher-level configurations.
任何大面积流行的公共代码库或多或少都会被认为是不可变的。
Any widely public library can be considered more or less unchangeable.
这种代码风格的使用从视觉上给出了一种强烈的指示:该类是一个不可变类。
Using this style of code is a strong visual indicator that it's an immutable class.
应用推荐