摘要: 使用一个ExecutorService,增加两个不可取消的子线程任务,并且获取他们的返回值。```java​ @org.junit.Test public void testFuture() throws InterruptedException { ... 阅读全文
posted @ 2015-06-08 11:54 薛定谔的猫_ 阅读(1322) 评论(0) 推荐(0) 编辑