public abstract class WeakRef
extends java.lang.ref.WeakReference
WeakRef
is a WeakReference
has its method
remove()
called when the corresponding object has been
garbage collected.Constructor and Description |
---|
WeakRef(java.lang.Object obj)
Creates a new WeakRef instance
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
remove()
Remove the current instance
|