/guava/guava/src/com/google/common/util/concurrent/Futures.java
} collection = ImmutableList.copyOf( futures) ;
collection = ImmutableList.copyOf ( futures ) ; }
private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray( Iterable<? extends ListenableFuture<? extends T>> futures) { final Collection<ListenableFuture<? extends T>> collection; if (futures instanceof Collection) { collection = (Collection<ListenableFuture<? extends T>>) futures; } else { <extra_id_0> return (ListenableFuture<? extends T>[]) collection.toArray(new ListenableFuture<?>[0]); } private static final class InCompletionOrderFuture<T extends @Nullable Object> extends AbstractFuture<T> { @CheckForNull private InCompletionOrderState<T> state; private InCompletionOrderFuture(InCompletionOrderState<T> state) {