• Weak Reference .

    引用

    youdao

  • A weak reference is a holder for a reference to an object, called the referent.

    引用一个对象(称为referent)的引用的持有者

    youdao

  • Returns the current generation number of the target of a specified weak reference.

    返回指定引用目标当前代数

    youdao

  • Since this event is static, it will only hold onto the handler as a weak reference.

    由于事件静态的,因此它处理程序保持一个引用

    youdao

  • The point of a weak reference is to refer to an object without forcing it to stay in memory.

    一点引用一个对象强迫留在记忆里

    youdao

  • GC is a thread of very low priority, so a weak reference object may not be collected immediately.

    因为垃圾回收器一个优先级线程所以引用对象不一定会马上就回收

    youdao

  • If the minimum number of objects is already allocated, then a weak reference to the object is enqueued.

    如果已经分配最低数量对象对象引用被放置到队列中

    youdao

  • The reference is a weak reference, thus the naming of the weak event pattern and the related APIs.

    参考式参考,因而命名为弱式事件模式相关API

    youdao

  • From above shall we say that an object can't have a soft reference and a weak reference at the same time?

    以上是否能看出一个对象不能同时具有引用引用?

    youdao

  • Weakly reachable: an object that is not strongly or softly reachable and can be accessed through a weak reference.

    对象(weaklyreachable):不是可及对象也不是软可及对象,并且能够通过引用访问的对象。

    youdao

  • With weak references, you can maintain a reference to the referent without preventing it from being garbage collected.

    使用引用后,可以维持对referent引用而不会阻止垃圾收集

    youdao

  • Weak references have two constructors: one takes only the referent as an argument and the other also takes a reference queue.

    引用两个构造函数取referent作为参数一个引用队列作为参数。

    youdao

  • A weak reference permits the garbage collector to collect the object while still allowing the application to access the object.

    引用允许应用程序访问对象同时允许垃圾回收收集相应对象。

    youdao

  • The weak reference from the long-lived object to the short-lived object is kept long after the short-lived object has been destroyed.

    周期对象销毁周期对象对短周期对象引用依然会长久保留下来

    youdao

  • Weak references tell the garbage collector that it should collect an object if there are no references to it other than the weak reference.

    引用告诉垃圾收集器如果某个对象除了弱引用之外没有其他任何引用,应该收集对象。

    youdao

  • In a weak reference to the need for interim targets for 2020 emission cuts, the draft simply states the global goal will be regularly reviewed.

    并无强有力证据显示需要制定2020年中期减排目标草案只是简单说明定期检查全球目标

    youdao

  • Dead mappings could be eliminated by periodically scanning the map, calling get on each weak reference, and removing the mapping if get returns null.

    可以通过周期性地扫描Map每一个引用调用get在get返回null时删除那个映射消除映射

    youdao

  • It would be nice if there was a way to be notified when the referent of a weak reference is garbage collected, and that is what reference queues are for.

    如果一种方法可以在引用referent被垃圾收集发出通知就好了就是引用队列作用。

    youdao

  • A weak reference object will keep a reference to an object that went out of scope or was set to null, until it is actually deleted by the garbage collector.

    引用对象将会保持指向一个超出作用域或者置空对象的引用,直到确实垃圾回收删除。

    youdao

  • Just as with weak references, a soft reference can be created with an associated reference queue, and the reference is enqueued when it is cleared by the garbage collector.

    正如引用一样,引用创建具有一个相关的引用队列,引用在垃圾收集器清除进入队列

    youdao

  • The Entry type, which is used to store the key-value mapping, extends WeakReference, so when expungeStaleEntries() asks for the next expired weak reference, it gets back an Entry.

    用于存储键-值映射Entry类型扩展了 WeakReference因此expungeStaleEntries()要求失效引用时得到一个 Entry。

    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

  • 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 finalizer (final queue) is associated with a soft or weak reference, then only after the soft or weak reference is removed is the finalizer removed on the next GC pass that is run.

    如果finalizer (final查询)一个softweak引用相关那么只有这个soft或weak引用删除后,这个finalizer才会在所运行下一个GCpass被删除。

    youdao

  • Reference queues are not as useful with soft references as with weak references, but they could be used to raise a management alert that the application is starting to run low on memory.

    引用队列对于引用来说,没有引用那么有用但是它们可以用于发出管理警报说明应用程序开始缺少内存。

    youdao

  • On the other hand, when you create a weak reference to an object, you do not extend the lifetime of the referent at all; you simply maintain an alternate way to reach it while it is still alive.

    一方面,创建对象引用时,完全没有扩展referent生命周期,只是对象仍然存活的时候,保持到达方法

    youdao

  • Weak and soft references both extend the abstract reference class (as do phantom references, which will be discussed in a future article).

    引用引用扩展抽象reference(引用(phantomreferences)也一样,以后文章中介绍)。

    youdao

  • By analysis of explosion accident of high voltage little oil circuit breaker, found out the weak link existed on this breaker, for which proposes some Suggestions for reader reference.

    通过分析一起高压断路器爆炸事故,从中找出断路器本身存在薄弱环节,为此提出一些改进建议读者参考

    youdao

  • In others, the company acknowledges that a difference exists - for instance, with the phrase "attenuation weak spot" only being used to reference the iPhone.

    其它场合,它有说两者的区别是存在的——比如,“衰减弱点这个只用在iPhone上。

    youdao

  • But if analyzing problems only from micro aspect will cause a great limitation against promotion and reference for overall industry because of its weak representative.

    但是,这些理论存在一个很大的局限性,那就是对于企业的分析局限微观时,对于整体行业推广借鉴是很困难。

    youdao

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

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

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