# | Line 3156 | Line 3156 | public class CompletableFutureTest exten | |
---|---|---|
3156 | ||
3157 | dependentFactories.add((y) -> m.thenCompose(y, new CompletableFutureInc(m))); | |
3158 | ||
3159 | + | dependentFactories.add((y) -> CompletableFuture.allOf(new CompletableFuture<?>[] {y, v42})); |
3160 | + | dependentFactories.add((y) -> CompletableFuture.anyOf(new CompletableFuture<?>[] {y, incomplete})); |
3161 | + | |
3162 | for (Function<CompletableFuture<Integer>, CompletableFuture<?>> | |
3163 | dependentFactory : dependentFactories) { | |
3164 | CompletableFuture<Integer> f = new CompletableFuture<>(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |