ListenableFutureTask<List<T>> task = ListenableFutureTask.create(new Callable<List<T>>() {
@Override
public List<T> call() throws Exception{
List<ListenableFuture<List<T>>> = new ArrayList<>();
futures.add(function);
List<T> result = new
future异步调用方法
于 2022-03-04 15:33:59 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)