public class DisposableWrapper<T extends Disposable> extends java.lang.Object implements Disposable
Disposable.Parent
Constructor and Description |
---|
DisposableWrapper(T object,
Disposable parent) |
Modifier and Type | Method and Description |
---|---|
protected DisposableWrapper<T> |
createNewWrapper(T object,
Disposable parent) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
DisposableWrapper<T> |
moveTo(Disposable parent) |
public DisposableWrapper(T object, Disposable parent)
public DisposableWrapper<T> moveTo(Disposable parent)
protected DisposableWrapper<T> createNewWrapper(T object, Disposable parent)
public void dispose()
Disposable
dispose
in interface Disposable