这是我的代码的结构形式:
List<Future<Object> > one = methodOne(); // uses executor service and callable
Map<String, Future<Object> > two = methodTwo(); // uses executor service and callable
return methodThree(one, two);
方法三会执行两次吗?
这是我的代码的结构形式:
List<Future<Object> > one = methodOne(); // uses executor service and callable
Map<String, Future<Object> > two = methodTwo(); // uses executor service and callable
return methodThree(one, two);
方法三会执行两次吗?