• 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

  • Duration objects are immutable and you can create them from a wide range of values, including.

    Duration对象不变的可以各种不同创建其中包括

    youdao

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

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

    youdao

  • The in-memory representation of a schema is defined as the schema class, which is immutable and therefore thread-safe.

    模式内存中表示定义schema,该类恒定的因此也是线程安全

    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

  • 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

  • You then have a separate table for ProfileUpdateEvents where you store an immutable event for every update with an associated time stamp.

    然后,您会拥有适用于ProfileUpdateEvent(其中使用相关时间每次更新存储一个不变事件)的单独

    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

  • This, along with Integer being immutable, makes it practical to use an Integer as a key in a HashMap.

    结合将不可修改的Integer,这使得使用Integer作为hashmap中的关键字是切实可行的。

    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

  • For example, a user is a mutable entity, but you might use an immutable value object to represent the user's address, just changing the address that you point to for the user if he or she moves.

    例如,虽然用户可变实体但是可以使用不可对象表示用户地址如果用户移动了位置那么只需用户更改您所指向地址。

    youdao

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

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

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