摘要: import java.util.Random;import java.util.concurrent.Callable;import java.util.concurrent.ExecutionException;import java.util.concurrent.FutureTask;p... 阅读全文
posted @ 2015-03-10 11:12 172257861 阅读(135) 评论(0) 推荐(0) 编辑
摘要: import java.util.Random;import java.util.concurrent.Callable;import java.util.concurrent.ExecutionException;import java.util.concurrent.FutureTask;p... 阅读全文
posted @ 2015-03-10 11:12 172257861 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 方案一: import java.util.ArrayList;import java.util.List;import java.util.concurrent.Callable;import java.util.concurrent.ExecutionException;import jav... 阅读全文
posted @ 2015-03-10 08:37 172257861 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 方案一: import java.util.ArrayList;import java.util.List;import java.util.concurrent.Callable;import java.util.concurrent.ExecutionException;import jav... 阅读全文
posted @ 2015-03-10 08:37 172257861 阅读(310) 评论(0) 推荐(0) 编辑