go top

weak pointer

  • 弱指针

网络释义

  弱指针

Android中定义了两种智能指针类型,一种是强指针sp(strong pointer),一种是弱指针(weak pointer)其实称为强引用和弱引用更合适一些强指针与一般意义的智能指针概念相同,通过引用计数来记录有多少使用者在使用一个对象,如果所...

基于38个网页-相关网页

双语例句

  • If a pointer pointing to an object not in the graph, then the object is not a reachable object, and then garbage collector sets the slot to null in the short weak reference table.

    如果指针指向不在中的对象那么对象就是一个不可到达的对象,垃圾收集器引用表相应置空

    youdao

  • If a pointer pointing to an object not in the graph, then the object is not a reachable object, and then garbage collector sets the slot to null in the long weak reference table.

    如果指针指向不在中的对象(注意此时图中已包含Finalize可到达对象),那么对象就是一个不可到达的对象,垃圾收集器就将长弱引用表相应的槽置空

    youdao

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

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

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