
包含
immutable的中国译典句库查询结果如下:
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:英汉句库-article.yeeyan.org-
属类:无分类双语句库-msdn.microsoft.com-
属类:英汉句库-article.yeeyan.org-
属类:IT行业-www.ibm.com-
属类:英汉句库-article.yeeyan.org-
属类:英汉句库-article.yeeyan.org-
属类:IT行业-www.ibm.com-
| 1 | 因为变化只会发生构造函数中,因此不可变类会将编写单元测试变成了一件微不足道的事情。 | Because changes only occur upon construction, immutable classes make it trivial to write unit tests. | |
| 2 | 由LSID描述的数据本身是不会发生改变的,所以缓存的数据永远不会过期,但有可能被本地缓存策略强制删除。 | The data itself is immutable , per the LSID specification, so cached data never expires but may be removed by local cache policy enforcement. | |
| 3 | 由于使用了集合,因此必须使用元组(tuple),因为只能使用不可修改的对象。 | Because we used a set, we have to use tuple as we can only use an immutable object. | |
| 4 | 有关于同性恋是否是无法改变或者是一种选择的争论从未停止。 | There is also the ongoing debate as to whether homosexuality is an immutable trait or a choice. | |
| 5 | 与不可变资料搭配使用的集合型别,包括清单和序列型别。 | Collection types for working with immutable data, including list and sequence types. | |
| 6 | 在FP里,函数没有副作用,变量都是不易变的。而在OOP中,可变状态和副作用都十分常见,甚至是被鼓励的。 | In FP, functions have no side effects and variables are immutable , while in OOP, mutable state and side effects are common, even encouraged. | |
| 7 | 在本文的开头部分,我着重强调了Python中的字符串是不变的字符序列。 | At the beginning of this article, I said (in a rather winded manner) that a string in Python is an immutable sequence of characters. | |
| 8 | 在这个例子里,stockPrice引用的对象不能被修改,因为Double在Scala里是不可变的。 | In this case, the object that stockPrice refers to can't be changed, because Doubles in Scala are immutable . | |
| 9 | 在这一行里,长期导致索马里人内斗的无所不在的家族界限并未成为问题。 | The immutable clan lines that have pitted Somalis against one another for decades are not a problem here. | |
| 10 | 这个模式要求被发布的值是有效不可变的——即值的状态在发布后不会更改。 | This pattern requires that the value being published be effectively immutable -- that its state not change after publication. |
查询记录