/** * 获取异步任务的执行结果(如果任务没执行完将等待) */ V get() throws InterruptedException, ExecutionException; Future必要时可以通过get方法获取执行结果,该方法会阻塞直到任务返回结果 相关文章: 2022-12-23 2022-12-23 2021-12-24 2022-12-23 2022-12-23 2022-01-07 2021-06-28