public class CleanableReference<T extends java.lang.AutoCloseable>
extends java.lang.Object
implements java.lang.AutoCloseable
| Constructor and Description |
|---|
CleanableReference(T underlyingObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finalize() |
T |
getUnderlyingObject() |