包含
mutable的中国译典句库查询结果如下:
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-msdn2.microsoft.com-
属类:IT行业-www.ibm.com-
属类:IT行业-technet.microsoft.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www-128.ibm.com-
属类:IT行业-www-128.ibm.com-
属类:英汉句库-article.yeeyan.org-
属类:IT行业-www.ibm.com-
属类:IT行业-technet.microsoft.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www-128.ibm.com-
属类:中国大陆-www.ilib.cn-
属类:IT行业-www.ibm.com-
属类:无分类双语句库-select.yeeyan.org-
属类:英汉句库-article.yeeyan.org-
属类:IT行业-www.ibm.com-
属类:IT行业-msdn2.microsoft.com-
属类:IT行业-www.ibm.com-
属类:英汉句库-article.yeeyan.org-
属类:英汉句库-article.yeeyan.org-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-msdn2.microsoft.com-
属类:英汉句库-article.yeeyan.org-
属类:英汉句库-article.yeeyan.org-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
属类:IT行业-www.ibm.com-
1 | 明确的讲,列表是一些便利的可变对象,他们甚至可以方便地保留多个值。 | Lists, specifically, are handy mutable objects that can conveniently even hold multiple values. | |
2 | 您不仅要避免典型的受JavaBeans启发的setXXX方法,还必须注意不要返回可变的对象引用。 | Not only must you avoid typical JavaBeans-inspired setXXX methods, but you must also be careful not to return mutable object references. | |
3 | 您可以使用changeset命令查看变更集的属性并修改其可变属性。 | You can use the changeset command to view the attributes of a changeset and modify its mutable properties. | |
4 | 您所调用的方法不应依赖于任何对象的易变状态,而应返回可再生产、可预测的结果。 | Methods you call shouldn’t depend on the mutable state of any object and should return fully reproducible and predictable results. | |
5 | 前面示例中所示的类是可变的。 | The class that is shown in the previous example is mutable . | |
6 | 请参阅侧边栏“可变集合”,了解更多这方面的信息。 | See the " Mutable collections" sidebar for more about that. | |
7 | 然而,如果赋予了命名参数可变的缺省值,那么参数就可以,用作以前调用的持久存储器。 | However, if named parameters are given mutable default values, the parameters can act as persistent memories of previous invocations. | |
8 | 如果对象是可变的,就必须在存储对其的引用时引起注意。 | If an object is mutable , you have to exercise some care when storing a reference to it. | |
9 | 如果你希望有可变的字段,那么使用var关键字。 | If you want mutable fields, then use the keyword var. | |
10 | 如果您不需要关心继承的可变字段,那么实现等同性会较为简单。 | Implementing equality is much simpler when you needn’t concern yourself with inherited mutable fields. | |
11 | 如果使用易变或无法辨认的具名使用权限集,将掷回编译器错误。 | A compiler error will be thrown if a mutable or unrecognized named permission set is used. | |
12 | 使得消息类不可变并在构造时克隆像数组这样的可变引用,就可以防止该问题。 | Making the message classes immutable and cloning mutable references such as arrays at construction time would have prevented this problem. | |
13 | 是异构可变容器,这意味着它可以存放不同类型的对象且创建后可以修改。 | Is a heterogeneous mutable container, which means it can hold different types of objects and can be modified after it has been created. | |
14 | 双向可变表的统一设计 | Unified Design of Bidirectional Mutable Form | |
15 | 虽然可变容器非常灵活,但它们的动态特性会对性能造成影响。 | While mutable containers are very flexible, their dynamic nature can result in a performance hit. | |
16 | 通过揭示价值观的易变性和局限性,我们发现相对主义是正确的,这一发现的确可以帮助到我们每一个人。 | The discovery that relativism is true can help each of us individually by revealing that our values are mutable and parochial. | |
17 | 我们也可以使用val和一个可变的类型,比如ListBuffer。 | We could have used a val with a mutable type, like ListBuffer. | |
18 | 希望捕获易变的局部变量的典型代码示例可能类似于清单1 | The canonical example of code that would want to capture a mutable local would be something like Listing 1 | |
19 | 线程可以在测试之后且Doer执行之前更改可变对象的状态。 | A thread can change the state of the mutable object after the test but before the Doer executes. | |
20 | 相反,Vimscript中的列表的序列是可变的,并且在很多情况下类似于匿名数组数据结构。 | In contrast, lists in Vimscript are mutable and in many ways far more like (references to) anonymous-array data structures. | |
21 | 要共享可变状态只能通过Unsafeclass,这个类只是一个安全舱口。 | The only way to share mutable state is via the Unsafe class which exists only as an escape hatch. | |
22 | 一个可变的变量用关键字var来声明。 | A mutable variable is declared with the keyword var. | |
23 | 依后见之明,使Point成为可变的这个决定被证明对于程序清晰性和性能是昂贵的代价。 | In hindsight, the decision to make Point mutable turned out to be costly to program clarity and performance. | |
24 | 因为list是易变的,所以它不能作为dictionary中的键。 | Because a list is mutable , it can’t be used as the key in a dictionary. | |
25 | 应用程序域之间的进程范围的可变共享状态应被清除,或使用受约束执行区域 | Process-Wide Mutable Shared State Between Application Domains Should Be Eliminated or Use a Constrained Execution Region | |
26 | 有一些设计问题还是使用易变对象比较容易解决。 | Some design problems are easier to solve with mutable objects. | |
27 | 在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. | |
28 | 在Java代码中,默认情况下数据结构是可变的,必须添加更多的代码,才能使它们具有不变的行为。 | In Java code, data structures are mutable by default, and you must add more code to make them act immutably. | |
29 | 在不只一个线程访问一个互斥的变量时,所有线程都必须使用同步,否则就可能会发生一些非常糟糕的事情。 | When more than one thread accesses a mutable variable, all threads must use synchronization, or else some very bad things can happen. | |
30 | 在单一地址空间中运行时,易变的可序列化对象的Pass-by-copy语义。 | Pass-by-copy semantics for mutable serializable objects when running in a single address space. |