Example usage for Java java.lang.ref WeakReference fields, constructors, methods, implement or subclass
The text is from its open source code.
WeakReference(T referent, ReferenceQueue super T> q) Creates a new weak reference that refers to the given object and is registered with the given queue. | |
WeakReference(T referent) Creates a new weak reference that refers to the given object. |