然而,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.
清单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.
那么为什么不在一开始就使得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.
F#函数库(囊括从不可变列表到异步计算函数库的一些常用的东西)
the F# libraries (usual stuff, ranging from immutable lists to asynchronous computations library)
这种代码风格的使用从视觉上给出了一种强烈的指示:该类是一个不可变类。
Using this style of code is a strong visual indicator that it's an immutable class.
这个模式要求被发布的值是有效不可变的——即值的状态在发布后不会更改。
This pattern requires that the value being published be effectively immutable — that its state not change after publication.
不可变数据是许多侧重于并发性的语言的关键方面,因为它有如此好的属性。
Immutable data is a key aspect of many languages that focus on concurrency because it has such nice properties.
我在本文讨论的Joda类具有不可变性,因此它们的实例无法被修改。
The Joda classes I discuss in this article are immutable, so instances of them cannot be modified.
应用推荐