public interface Closeable extends AutoCloseable
AutoCloseable chiefly to eliminate the checked exception thrown by
close(). React resources generally do not encounter failure during closure, thus the
checked exception is a needless burden to pass on to callers.| Modifier and Type | Interface and Description |
|---|---|
static class |
Closeable.Set
Maintains a set of closeables to allow mass operations on them.
|
static class |
Closeable.Util
Provides some
Closeable-related utilities. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this closeable resource.
|
void close()
close in interface AutoCloseableCopyright © 2017. All rights reserved.