public class AutoCloser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static AutoCloser |
instance |
| Modifier | Constructor and Description |
|---|---|
protected |
AutoCloser() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Object obj) |
void |
closeAll() |
static AutoCloser |
get() |
protected void |
initThread() |
protected Collection |
objects() |
void |
remove(Object obj) |
protected static AutoCloser instance
public static AutoCloser get()
protected Collection objects()
public void add(Object obj)
public void remove(Object obj)
public void closeAll()
protected void initThread()
Copyright © 2017. All rights reserved.