public abstract class WeakReferenceDisposable<T> extends java.lang.ref.WeakReference<T> implements Disposable
Disposable.Parent
Constructor and Description |
---|
WeakReferenceDisposable(T referent) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected abstract void |
disposeReferent(T referent) |
public WeakReferenceDisposable(T referent)
public final void dispose()
Disposable
dispose
in interface Disposable
protected abstract void disposeReferent(T referent)