public class CompletableFutureUtil extends Object
Constructor and Description |
---|
CompletableFutureUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> CompletableFuture<T> |
merge(List<CompletableFuture<T>> futures,
BiFunction<T,T,T> mergeFunc,
Supplier<T> nothing) |
public static <T> CompletableFuture<T> merge(List<CompletableFuture<T>> futures, BiFunction<T,T,T> mergeFunc, Supplier<T> nothing)
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.