java.lang.ref
Class WeakReference<T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
public class WeakReference<T>
- extends Reference<T>
Weak reference objects, which do not prevent their referents from being
made finalizable, finalized, and then reclaimed. Weak references are most
often used to implement canonicalizing mappings.
Constructor Summary |
WeakReference(T referent)
Creates a new weak reference that refers to the given object. |
WeakReference
public WeakReference(T referent)
- Creates a new weak reference that refers to the given object.
- Parameters:
referent
- object the new weak reference will refer to
Copyright © 2007 Sentilla Corporation. All Rights Reserved.