Creates a new ListenableFuture whose value is a list containing the values of all its successful input futures. The list of results is in the same order as the input list, and if any of the provided futures fails or is canceled, its corresponding position will contain null (which is
(ListenableFuture<? extends V>... futures)
| 984 | */ |
| 985 | |
| 986 | @Beta |
| 987 | @SafeVarargs |
| 988 | public static <V> ListenableFuture<List<V>> successfulAsList(ListenableFuture<? extends V>... futures) { |
| 989 | return new ListFuture<V>(ImmutableList.copyOf(futures), false); |
| 990 | } |
| 991 | |
| 992 | /** |
| 993 | * Creates a new {@code ListenableFuture} whose value is a list containing the values of all its |