Waits for this thread to die. <p> An invocation of this method behaves in exactly the same way as the invocation <blockquote> {@linkplain #join(long) join}{@code (0)} </blockquote> @throws InterruptedException if any thread has interrupted the current thread. The <i>interrupted status</i> of the current thread is cleared when this exception is thrown. / publicfinalvoid()throws InterruptedException { join(0); }
近期评论