go top

有道翻译

防御性复制

Defensive replication

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

双语例句

  • 解决方案防御性复制对象然后通过你的方法引用

    One solution is to make a defensive copy of your object, and then pass its reference to your method.

    youdao

  • 不可变属性存取总是具有引用,因而调用任何一需要防御性复制这使得它们效率更高

    Accessors for immutable properties will always have value semantics and do not need the defensive copying on either side of the call, making them more efficient.

    youdao

  • 应该始终使用集合不是数组创建不可变列表尽管防御性的数组复制也是可行的,但这会带来一些不希望见到的副作用。

    You should always use collections to create immutable lists rather than arrays. Although it is possible to copy arrays defensively, it leads to some undesirable side-effects.

    youdao

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

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

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