• Part of the power of Scala is that it encourages developers to create immutable objects by default.

    Scala一个强大之处就在于鼓励开发人员默认方式创建不可改变的对象

    youdao

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

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

    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

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

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

    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

  • If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super. clone need to be modified.

    如果一个包含基本字段不变对象引用那么通常需要修改super .clone返回对象中的字段。

    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

  • 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

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

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

    youdao

  • The returned event objects are immutable and the application can cache them beyond the parsing process.

    返回事件对象不变的应用程序可以保存解析过程之后

    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.

    作为不可变序列tuplestring对象创建之后便无法修改

    youdao

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

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

    youdao

  • In case you were looking at the objects folder: Files in the objects folder are immutable and won't get modified. They will only be deleted and added.

    如果对象文件夹目标文件夹中的文件不可变的,不会被修改他们被删除添加

    youdao

  • In case you were looking at the objects folder: Files in the objects folder are immutable and won't get modified.

    如果对象文件夹目标文件夹中的文件不可变的,不会修改。

    youdao

  • Use this method for objects that are immutable, but for which you want to provide changeable properties.

    不可希望提供可变属性对象使用方法

    youdao

  • If the internal state cannot change, there is no chance for different threads to see inconsistent views of the data. Immutable types can be exported from your objects safely.

    如果内部状态不能改变那么对于不同线程来说没有机会看到这个数据不同值。

    youdao

  • If the internal state cannot change, there is no chance for different threads to see inconsistent views of the data. Immutable types can be exported from your objects safely.

    如果内部状态不能改变那么对于不同线程来说没有机会看到这个数据不同值。

    youdao

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

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

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