• Public Service Reminder: Making all fields of an object final does not necessarily make the object immutable -- all fields must also be primitive types or references to immutable objects.

    PublicServiceReminder:让一个对象的所有字段都为final并不一定使得这个对象不可变 —— 所有的字段还必须是原语类型或是对不可变对象的引用。

    youdao

  • The instances of this class are immutable.

    该类的实例是不可变的。

    youdao

  • One of these is the immutable attribute.

    其中之一就是不可变属性。

    youdao

  • The key thing about both of them is that they were immutable.

    关于他们有一点很关键的,就是他们都是不可变的。

    youdao

  • Rather, a new immutable version of the data structure is returned.

    而是返回该数据结构的一个新的不可变版本。

    youdao

  • A tuple, however, is immutable.

    然而,tuple是不可变的。

    youdao

  • Is the tendency to perform best at a certain time of day immutable?

    哈佛商业评论:一个人每天处在巅峰状态的时间是不变的吗?

    youdao

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

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

    youdao

  • Tagged immutable sets and maps

    可标记的不可变set和map

    youdao

  • Create and return an immutable physical resource representation.

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

    youdao

  • If you have an immutable object, you must set whatever state it will contain in the constructor.

    如果您有一个不可变对象,则必须要在构造函数中设置该对象将包含的任何状态。

    youdao

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

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

    youdao

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

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

    youdao

  • Scala encourages you to use immutable values whenever possible.

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

    youdao

  • These interfaces are intended to represent views into a collection, but they do not ensure the collection itself is immutable.

    这些接口是用来表示针对某集合的一些视图,但是接口并不确保该集合本身是不变的。

    youdao

  • Erlang has no Shared memory, and in it all state is immutable.

    erlang无共享内存,且其中的所有状态都是不变的。

    youdao

  • Making the message classes immutable and cloning mutable references such as arrays at construction time would have prevented this problem.

    使得消息类不可变并在构造时克隆像数组这样的可变引用,就可以防止该问题。

    youdao

  • In a resource oriented system requests are made for resources and concrete, immutable resource representations are returned.

    在面向资源的系统中,我们对资源发出请求,然后系统将具体的、不变的资源表示返回给我们。

    youdao

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

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

    youdao

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

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

    youdao

  • An immutable "variable" is declared with the keyword val (think value object).

    一个不变的“变量”可以用val关键字来声明(想象一个值对象)。

    youdao

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

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

    youdao

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

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

    youdao

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

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

    youdao

  • In this article, I introduced the Python string, which is an immutable sequence of characters.

    在本文中,我介绍了python字符串,它是一种不变的字符序列。

    youdao

  • Often a variable is only assigned to once and is used as an (immutable) definition.

    通常对变量的赋值只有一次,并被当作不变的对象。

    youdao

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

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

    youdao

  • Part 2 of this series, Discover Python, Part 2, introduced the tuple, which also was an immutable sequence.

    本系列的第 2部分探索Python,第 2 部分介绍了tuple,它也是一个不变的序列。

    youdao

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

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

    youdao

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

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

    youdao

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

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

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