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