摘要: Java 延时常见的几种方法 1、 用Thread就不会iu无法终止 new Thread(new Runnable() { public void run() { while (true) { test(); try { Thread.sleep(500); } catch (Interrupte 阅读全文
posted @ 2019-03-08 10:46 江期玉 阅读(57179) 评论(0) 推荐(1) 编辑