go top

不可变类

网络释义

  immutable class

摘要: 如果一个对象在创建之后,其内容不能更改, 则成为不可变对象(immutable object)它的类称为不可变类(immutable class)一个类即便所有数据域都是私有的,而且没有更改器函数,也不一定是不可变类

基于104个网页-相关网页

短语

不可变类型 immutable type ; Immutable sequences

可变类和不可变类 Mutable and Immutable Objects

使用不可变的值类型 Immutable Atomic Value Types

不可变基本类型 imutable basic types

外翻变形,不可归类在他处者 Valgus deformity, not elsewhere classified

老年性脑变性,不可归类在他处者 Senile degeneration of brain, not elsewhere classified

 更多收起网络短语

有道翻译

不可变类

Immutable class

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 清单1列出了一个满足上述要求不可变

    An immutable class that meets the previous requirements appears in Listing 1.

    youdao

  • (不可一个优点就是它们线程安全的)。

    One advantage of immutable classes is that they are thread-safe.

    youdao

  • 因此永远都不该不可变提供一个无参数构造函数

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

    youdao

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

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

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