然而,tuple是不可变的。
创建和返回一个不可变的物理资源表示。
Create and return an immutable physical resource representation.
该类的实例是不可变的。
Ceylon鼓励尽可能使用不可变的属性。
Ceylon encourages the use of immutable attributes whenever possible.
也是不可变的,周期是97分钟。
关于他们有一点很关键的,就是他们都是不可变的。
The key thing about both of them is that they were immutable.
如文中所述,tuple类型是不可变的异构容器。
As discussed, the tuple type is an immutable heterogeneous container.
这篇文章演示了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.
那么为什么不在一开始就使得Point 成为不可变的呢?
这些类型是不可变的,就是说整数对象一旦创建,其值便不可更改。
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.
关于他们有一点很关键的,就是他们都是不可变的。 。
Thee key thing about both of them is that they were immutable.
一旦创建,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.
我们在这个例子里选择使用一个var来表示不可变的观察者的List。
We chose to use a var with immutable Lists for the observers in this example.
这个模式要求被发布的值是有效不可变的——即值的状态在发布后不会更改。
This pattern requires that the value being published be effectively immutable — that its state not change after publication.
作为不可变的序列,tuple和string对象在创建之后便无法修改。
As immutable sequences, both tuple and string objects can't be modified once they're created.
一个必须处理对象所有权问题的特殊情况是数组,因为数组不可以是不可变的。
One special case where we are forced to deal with the issue of object ownership is with arrays, as arrays cannot be immutable.
但它有本质的不同,因为原始节点没有改变(它也不能改变,因为它是不可变的)。
It is fundamentally different, because the original Node is not being changed (since it cannot be, as it is immutable.)
string是不可变的同构容器,这意味着它仅能存放字符且一旦建立将无法修改。
The string is an immutable homogeneous container, which means it can only hold characters and can't be modified once it has been created.
当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。
When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.
由于clojure树是不可变的数据结构,因此任何操作都需要返回一个经过修改的新树。
Because Clojure trees are immutable data structures, any manipulation requires that we return a new, modified tree.
最后的建议是关于保护敏感数据的,就是要避免使用不可变的数据类型,比如string。
The last advice on protecting sensitive data is to avoid using immutable data types like String.
注意,函数只能作为不可变的序列访问这个列表—也就是说,尝试修改列表的内容会导致错误。
Note that the function can only access the list as an immutable sequence-that is, trying to modify the contents of the list results in an error.
Python同时使用可变性和不变性的概念:举例来说,tuple就是一个不可变的列表。
Python also has a concept of mutability and immutability: a tuple, for example, is an immutable list.
Python同时使用可变性和不变性的概念:举例来说,tuple就是一个不可变的列表。
Python also has a concept of mutability and immutability: a tuple, for example, is an immutable list.
应用推荐