• Because clone has protected access in Object and, to call clone , you have to call it through a reference to a class that has overridden clone to be public.

    因为cloneObject中是保护访问的,调用clone必须通过clone改写公共访问的引用完成。

    youdao

  • Therefore when you make a change in the data member object, the original and the clone will be both changed.

    因此修改这个对象中的一个数据成员时,原始克隆的数据成员都会改变

    youdao

  • A deep clone of an object creates a copy of the object and a copy of everything directly or indirectly referenced by that object.

    对象深层克隆创建对象的副本以及对象直接间接引用所有内容的副本。

    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

  • A shallow clone of an object, by contrast, is a copy of the object only.

    相比之下,对象浅表克隆只是对象本身的副本

    youdao

  • This creates a complete copy of the current binding element object tree, also called a deep clone.

    将创建当前绑定元素对象完整副本称为深层克隆

    youdao

  • A shallow clone of an object is a copy of the object only.

    对象浅表克隆只是对象本身的副本

    youdao

  • A shallow clone of an object is a copy of the object only.

    对象浅表克隆只是对象本身的副本

    youdao

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

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

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