Soft references, like weak references, can help applications prevent object loitering by enlisting the aid of the garbage collector in making cache eviction decisions.
与弱引用一样,软引用通过利用垃圾收集器在作出缓存回收决策方面的帮助,有助于防止应用程序出现对象游离。
Young children usually have a favorite soft object like a stuffed animal or a blanket.
幼儿通常喜欢一些软的物体,像填充动物玩具或一条毯子。
Furthermore, an object in memory can be referenced by multiple references that could be strong, soft, weak, or phantom. Before proceeding further, let's look at some terminology.
而且,内存中的一个对象可以被多个引用(可以是强引用、软引用、弱引用或虚引用)引用。
If you need to cache more than a single object, you might use a Map, but you have a choice as to how to employ soft references.
如果需要缓存不止一个对象,您可以使用一个Map,但是可以选择如何使用软引用。
CachingChecksum used a soft reference to cache a single object and let the JVM handle the details of when to evict the object from the cache.
CachingChecksum使用一个软引用来缓存单个对象,并让JVM处理从缓存中取走对象时的细节。
Soft sensor object finds its application in water treatment plant.
软传感器对象在水处理过程控制系统中得到应用。
Object: To solve the problems of prolonged disintegration and disqualified disintegration of soft capsules.
目的:解决软胶囊崩解迟缓、崩解不合格的问题。
From above shall we say that an object can't have a soft reference and a weak reference at the same time?
从以上是否能看出,一个对象不能同时具有软引用和弱引用?
When an object holds only soft references, GC collects it only if there is not enough memory.
当一个对象只具有软引用时,垃圾回收器只在内存不足的时候才回收它。
Object: To investigate the effect the reparation of the crus skin soft tissue defects and bone defects using the osteocutaneous flaps of healthy side fibula long section vascular bridging anastomosis.
目的:探讨血管长段桥接健侧腓骨骨皮瓣移植修复小腿皮肤软组织缺损并骨缺损的疗效。
Soft Reference . When an object holds only soft references, GC collects it only if there is not enough memory.
软引用 。当一个对象只具有软引用时,垃圾回收器只在内存不足的时候才回收它。
Softly reachable: an object that is not strongly reachable and can be accessed through a soft reference.
软可及对象(softlyreachable):不是强可及对象,并且能够通过软引用访问的对象。
But for a soft object like a sponge, the neural network realized it would be easier to place one gripping finger in the middle and one around the edge, and then squeeze.
但对于柔软物品(如海绵)而言,神经网络意识到将一根手指放在中间、另一根放在边缘会更轻松一些。
Many children become attached to some inanimate object, such as a blanket or soft toy.
很多儿童都对一些诸如毯子或柔软玩具这样没有生命的物品产生依恋。
The whole object of all the child's affection was a soft toy.
那孩子最心爱的东西是个柔软的玩具。
An object made of a soft, pliable material, such as cotton or rubber, and fitted into the ear canal to block the entry of water or sound.
一种由柔软而灵便的材料制成的东西,如棉、橡胶等材料,以嵌入耳道挡住水或声音的进入。
To address this issue, WPF provides a way for object edges in a visual tree to "snap" to device pixels, eliminating the soft edges produced by anti-aliasing.
为了解决此问题,WPF提供了一种将可视化树中的对象边缘与设备像素“对齐”的方法,从而消除了抗锯齿产生的软边缘。
The concept of research result of agricultural soft-science is discussed in three aspects relating research purpose, research object and research approach.
从农业软科学的研究目的、研究对象、研究方法三方面论述了农业软科学研究成果的概念。
The idea of a SoftReference is that you hold a reference to an object with the guarantee that all of your soft references will be cleared before the JVM reports an out-of-memory condition.
SoftReference的原理是:在保持对对象的引用时保证在JVM报告内存不足情况之前将清除所有的软引用。
The tester can be used for AC and mechanical soft-starter to check and validate the performance of slow and uniform start and on-line plot the starting curve of tested object.
本装置可对各种交流电软起动设备、机械式软起动设备等被试件进行慢速平稳起动性能的试验,并可实时绘制软起动设备起动曲线。
Pilley worked with Chaser four or five hours a day.He'd show her an object, a soft toy, for example, give it a name, and repeat it until Chaser understood the association.
皮利每天教察塞学习4到5小时,皮利先会给这只狗展示一个物品,比如一只玩具,然后不断地重复玩具的名字,直到察塞明白它的关联。
Pilley worked with Chaser four or five hours a day. He'd show her an object, a soft toy, for example, give it a name, and repeat it until Chaser understood the association.
皮利每天教察塞学习4到5小时,皮利先会给这只狗展示一个物品,比如一只玩具,然后不断地重复玩具的名字,直到察塞明白它的关联。
Pilley worked with Chaser four or five hours a day. He'd show her an object, a soft toy, for example, give it a name, and repeat it until Chaser understood the association.
皮利每天教察塞学习4到5小时,皮利先会给这只狗展示一个物品,比如一只玩具,然后不断地重复玩具的名字,直到察塞明白它的关联。
应用推荐