@FunctionalInterface
public interface NoExceptionAutoClosable
extends java.lang.AutoCloseable
AutoCloseable with no exception to catch| Modifier and Type | Field and Description |
|---|---|
static NoExceptionAutoClosable |
EMPTY
A
NoExceptionAutoClosable that does nothing. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes resources associated with this closable
|
static final NoExceptionAutoClosable EMPTY
NoExceptionAutoClosable that does nothing.