Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 4
    Both would work so it depends on what you want to do with the executor: if you don't need it any more the use the former - if you want to reuse it use the latter... Also in your first code snippet you only keep a reference to the last CompletableFuture...
    – assylias
    Commented Jun 8, 2015 at 10:05
  • 3
    I did not quite understand this.growSeedFutureList = . What is the type of growSeedFutureList ? Is this some new syntax of adding elements to list ? Can somebody please clarify? Is there any way to achieve this without having list ?
    – Albatross
    Commented Sep 16, 2021 at 18:35