• 然而,tuple是不可变的。

    A tuple, however, is immutable.

    youdao

  • 创建和返回一个不可变的物理资源表示。

    Create and return an immutable physical resource representation.

    youdao

  • Ceylon鼓励尽可能使用不可变的属性。

    Ceylon encourages the use of immutable attributes whenever possible.

    youdao

  • 如文中所述,tuple类型是不可变的异构容器。

    As discussed, the tuple type is an immutable heterogeneous container.

    youdao

  • 这篇文章演示了tuple,这是一个不可变的序列。

    That article demonstrated the tuple, which is an immutable sequence.

    youdao

  • Scala鼓励你在任何可能的时候使用不可变的值。

    Scala encourages you to use immutable values whenever possible.

    youdao

  • 一种常用的列表类型是tuple,它是不可变的。

    One common type of list is called a tuple, and as noted, it's immutable.

    youdao

  • 严格来说,在RUP 中您采用各阶段的顺序是不可变的。

    Strictly speaking, the order in which you undertake phases in RUP is immutable.

    youdao

  • 这些类型是不可变的,就是说整数对象一旦创建,其值便不可更改。

    These types are immutable, which means that when an integer object is created, its value cannot be changed.

    youdao

  • 此外,对于对象引用的数据成员,引用的对象必须是有效不可变的。

    Further, for data members that are object references, the referred-to objects must be effectively immutable.

    youdao

  • 这个模式要求被发布的值是有效不可变的——即值的状态在发布后不会更改。

    This pattern requires that the value being published be effectively immutable — that its state not change after publication.

    youdao

  • 作为不可变的序列,tuple和string对象在创建之后便无法修改。

    As immutable sequences, both tuple and string objects can't be modified once they're created.

    youdao

  • 一个必须处理对象所有权问题的特殊情况是数组,因为数组不可以是不可变的。

    One special case where we are forced to deal with the issue of object ownership is with arrays, as arrays cannot be immutable.

    youdao

  • 但它有本质的不同,因为原始节点没有改变(它也不能改变,因为它是不可变的)。

    It is fundamentally different, because the original Node is not being changed (since it cannot be, as it is immutable.)

    youdao

  • 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.

    youdao

  • 当作为构造函数参数时,这些可变或者不可变的变量会在一个对象被实例化的时候被初始化。

    When used as constructor parameters, the mutable or immutable variables specified will be initialized when an object is instantiated.

    youdao

  • 由于clojure树是不可变的数据结构,因此任何操作都需要返回一个经过修改的新树。

    Because Clojure trees are immutable data structures, any manipulation requires that we return a new, modified tree.

    youdao

  • 注意,函数只能作为不可变的序列访问这个列表—也就是说,尝试修改列表的内容会导致错误。

    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.

    youdao

  • 要记得,默认情况下在Clojure 中所有事物都是不可变的(immutable)。

    Remember that in Clojure everything is immutable by default.

    youdao

  • 一个是不可变的,当需要修改的时候它会创建一个新的副本,而另一个则允许直接在其上进行修改。

    StringBuilder; one is immutable and changes to it cause the creation of a new copy, the other allows for in-place modification.

    youdao

  • 而VB却同时支持可变和不可变的匿名类型,对于这两种匿名类型,实现和使用的规则也略有不同。

    VB allows both mutable and immutable anonymous types, with subtly different rules for each.

    youdao

  • 很多人现在都投身于函数式编程的世界,由于它们具有不可变的对象,以及与生俱来的线程安全属性。

    Many people are betting on functional programming, with its emphasis on immutable objects and their inherently thread-safe properties.

    youdao

  • 如果一开始就使得Point 成为不可变的,那么这些与 Point 有关的问题早就迎刃而解了。

    These problems with Point could have easily been solved if Point had been made immutable in the first place.

    youdao

  • 由于BigDecimal对象是不可变的,这些方法中的每一个都会产生新的BigDecimal对象。

    Because BigDecimal objects are immutable, each of these methods produces a new BigDecimal object.

    youdao

  • 例如,tuple类型,尽管它是不可变的,灵活性较差,但在同一环境中使用时,它们通常比list类型快得多。

    For example, the tuple type, while less flexible because it's immutable, is generally much faster than the list type when used in identical situations.

    youdao

  • 如果您要创建一个可变类m,那么您应该准备编写比m是不可变的情况下多得多的文档说明,以说明怎样处理m的引用。

    If you are creating a mutable class m, you should be prepared to write a lot more documentation about the treatment of references to m than if m were immutable.

    youdao

  • String是不可变的,但如果我们的工作需要字符串有很多变化,StringBuffer将是一个开销较低的选择。

    String is immutable and if we are doing work that requires mutations, StringBuffer is a less costly alternative.

    youdao

  • 因为字符串是不可变的,所以这种方式意味着每次循环时会构建一个新的字符串,从老的字符串拷贝数据并在最后增加一个字符。

    Because strings are immutable, this approach means a new string will be constructed each time through the loop, with the data copied from the old string and a single character added at the end.

    youdao

  • 本系列的第三篇文章探索Python类型的层次结构 —— 使用字符串介绍了 Python string,这也是一个不可变的序列,但仅针对字符数据。

    The third article in this series, " Exploring the Python type hierarchy, Introducing Strings," introduces the Python string, which is also an immutable sequence, but only for character data.

    youdao

  • Anders Janmyr出色地概述了新功能,包括支持非扩展性和不可变对象的能力。

    Anders Janmyr has a good overview of the new features including the ability to support non-extensible and immutable objects.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定