Transforms a list of futures into a future of a list. @param list the futures to collect from @return a future that is satisfied with the future results.
(final List<? extends Future<T>> list)
| 220 | * @return a future that is satisfied with the future results. |
| 221 | */ |
| 222 | public static <T> Future<List<T>> collect(final List<? extends Future<T>> list) { |
| 223 | |
| 224 | switch (list.size()) { |
| 225 |
no outgoing calls