@FunctionalInterface public interface Closeable extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Doesn't throw a checked exception.
|
static void |
closeQuietly(Object... closables) |
static void |
closeQuietly(Object o) |
default boolean |
isClosed() |
default void |
notifyClosing() |
static void closeQuietly(@NotNull Object... closables)
static void closeQuietly(Object o)
void close()
close
in interface AutoCloseable
close
in interface Closeable
default void notifyClosing()
default boolean isClosed()
Copyright © 2017. All rights reserved.