摘要: 当一个方法后面声明可能会抛出InterruptedException 异常时,说明该方法是可能会花一点时间,但是可以取消的方法。 抛InterruptedException的代表方法有: 1. java.lang.Object 类的 wait 方法 2. java.lang.Thread 类的 sl 阅读全文
posted @ 2018-12-26 16:11 上台阶 阅读(553) 评论(0) 推荐(0) 编辑