interrupt()
cf
Thread.currentThread().interrupt();t.join(); // will throw InterruptedException
上一篇 什么时候使用空白的最终变量?
下一篇 经常使用instanceof是一种好习惯吗?
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号