| java.lang.Object | |||
| java.lang.ref.Reference | |||
| java.lang.ref.WeakReference | |||
WeakReference objects are used to detect referents which are no longer visible.
Known Direct Subclasses| WeakReference(T r) | |||||
| Constructs a new instance of this class. | |||||
| WeakReference(T r, ReferenceQueue q) | |||||
| Constructs a new instance of this class. | |||||
Methods inherited
from class
java.lang.ref.Reference
Methods inherited
from class
java.lang.Object
| r | referent to track. |
|---|
| r | referent to track. |
|---|---|
| q | queue to register to the reference object with. |