• A string is an immutable array of characters.

    字符串是定长字符数组。

    youdao

  • You also can mark a read-only POJO immutable as a tuning hint.

    将只读POJO标识为不可更改的(immutable)也是一个调优点。

    youdao

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

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

    youdao

  • The constructor then prints a warning message that there are no callbacks, since lists are immutable and there is no way to replace the callback list val with a new one.

    然后构造函数打印出一条警告消息指明没有回调函数,因为列表是不可变的,所以我们没有机会用一个新的值来替代现有的回调函数列表。

    youdao

  • URI versioning […] is a design choice when resources are immutable across time and we create new resources for state changes (similar to how we manage time-series data in a database).

    URI版本控制 […]是一种设计决定,用于当资源不随时间的变迁而变化时,我们为状态的改变创建新资源(类似于管理数据库中的时间序列数据)。

    youdao

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

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

    youdao

  • When considering a tree of nodes where each node is an immutable data structure, we must consider how to modify a node or nodes inside the tree without modifying the entire tree.

    在考虑每个节点都是一个不可变数据结构的节点树时,我们必须考虑如何修改树内的一个节点或多个节点,而不必更改整个树。

    youdao

  • Thus, you should never have a no-argument constructor for an immutable class.

    因此,您永远都不该为一个不可变类提供一个无参数的构造函数。

    youdao

  • If you want to change an immutable object, you don't - you create a new object with the changed value and point your reference to it.

    如果您想要改变一个不可变对象的话,您不会改变它,而是使用修改后的值来创建一个新的对象,并把您的引用指向它。

    youdao

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

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

    youdao

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

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

    youdao

  • But from a testing perspective, a big problem is that they are often immutable.

    但是从测试的角度看,最大的问题是它们通常是不可更改的。

    youdao

  • Like its global cousin, a class constant is immutable once defined.

    与全局属性一样,类常量一旦定义就不可更改。

    youdao

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

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

    youdao

  • A tuple, however, is immutable.

    然而,tuple是不可变的。

    youdao

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

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

    youdao

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

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

    youdao

  • The request is sent to that IP address and a web server delivers a response containing a concrete, immutable representation of the resource.

    然后请求被发到该IP地址,最后由web服务器将该资源具体的、不变的资源表示,以响应的形式发送回来。

    youdao

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

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

    youdao

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

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

    youdao

  • Scala allows you to decide whether a variable is immutable (read-only) or not (read-write) when you declare it.

    当你声明一个变量的时候,Scala允许你来决定它是不变的(只读的)还是可变的(可读写的)。

    youdao

  • A rope represents an immutable character sequence.

    一个rope代表一个不能修改的字符序列。

    youdao

  • At the beginning of this article, I said (in a rather winded manner) that a string in Python is an immutable sequence of characters.

    在本文的开头部分,我着重强调了Python中的字符串是不变的字符序列。

    youdao

  • They provide a mutable wrapper for otherwise immutable object references.

    它们为那些用其他方式不可改变的对象引用提供了一个可改变的包装器。

    youdao

  • So as long as you stick to the simplest rules of concurrent programming - stateless services and immutable objects, it will be a breeze to wire your services to any producer or consumer.

    所以只要你坚持并发编程的最简单规则——无状态服务和不变对象,将你的服务绑定到任何生产者或消费者上都会轻而易举。

    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

  • There can be no side effects on immutable objects, and caching a reference to an immutable object is always safe from alias problems.

    不可变对象上没有副作用,并且缓存不可变对象的引用总是安全的,不会出现别名问题。

    youdao

  • Placing immutable objects in a scoped container avoids most atomicity and visibility failures; it is also safe to place effectively immutable objects in a scoped container.

    将不可修改对象放置在范围容器避免了许多原子性和可见性故障;将有效不可修改性对象放置在范围容器中也是安全的。

    youdao

  • Immutable data is a key aspect of many languages that focus on concurrency because it has such nice properties.

    不可变数据是许多侧重于并发性的语言的关键方面,因为它有如此好的属性。

    youdao

  • Using this style of code is a strong visual indicator that it's an immutable class.

    这种代码风格的使用从视觉上给出了一种强烈的指示:该类是一个不可变类。

    youdao

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

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

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