Home | History | Annotate | Download | only in lang

Lines Matching refs:close

30  * until it is closed. The {@link #close()} method of an {@code AutoCloseable}
59 * declare concrete implementations of the {@code close} method to
61 * if the close operation cannot fail.
63 * <p> Cases where the close operation may fail require careful
67 * close} method is unlikely to be invoked more than once and so
73 * to not have the {@code close} method throw {@link
82 * exception to be suppressed, the {@code AutoCloseable.close}
85 * <p>Note that unlike the {@link java.io.Closeable#close close}
86 * method of {@link java.io.Closeable}, this {@code close} method
88 * calling this {@code close} method more than once may have some
89 * visible side effect, unlike {@code Closeable.close} which is
93 * to make their {@code close} methods idempotent.
97 void close() throws Exception;