equal
deleted
inserted
replaced
32 * The close method is invoked to release resources that the object is |
32 * The close method is invoked to release resources that the object is |
33 * holding (such as open files). |
33 * holding (such as open files). |
34 * |
34 * |
35 * @since 1.5 |
35 * @since 1.5 |
36 */ |
36 */ |
37 @FunctionalInterface |
|
38 public interface Closeable extends AutoCloseable { |
37 public interface Closeable extends AutoCloseable { |
39 |
38 |
40 /** |
39 /** |
41 * Closes this stream and releases any system resources associated |
40 * Closes this stream and releases any system resources associated |
42 * with it. If the stream is already closed then invoking this |
41 * with it. If the stream is already closed then invoking this |