网络 弱引用;引用类;不固定的引用
The heap object that had been referenced by the WeakReference is declared finalizable.
WeakReference引用过的heap对象被声明为finalizable。
The recreateIt() method re-creates the object, but it is referenced by a WeakReference, not a strong reference.
recreateIt() 方法将重新创建该对象,但它会被 WeakReference 引用,而不是强引用。
The WeakReference object´s referent field is set to null, thereby making it not refer to the heap object any longer.
WeakReference 对象的 referent 域被设置为 null ,从而使该对象不再引用 heap 对象。
The implementation of WeakHashMap illustrates a common idiom with weak references — that some internal object extends WeakReference.
WeakHashMap的实现展示了弱引用的一种常见用法——一些内部对象扩展WeakReference。
The referent of a WeakReference is set at construction time, and its value, if it has not yet been cleared, can be retrieved with get .
WeakReference的referent是在构造时设置的,在没有被清除之前,可以用get获取它的值。