Skip to content

Commit

Permalink
Add new methods to README.md (#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Aug 20, 2024
1 parent a45e825 commit 7b940a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,16 @@ All parallel collectors are one-off and must not be reused.

- `CompletableFuture<Stream<T>> parallel(Function)` (uses Virtual Threads)
- `CompletableFuture<Collection<T>> parallel(Function, Collector)` (uses Virtual Threads)
- `CompletableFuture<Stream<T>> parallel(Function, parallelism)` (uses Virtual Threads)
- `CompletableFuture<Collection<T>> parallel(Function, Collector, parallelism)` (uses Virtual Threads)
-
- `CompletableFuture<Stream<T>> parallel(Function, Executor, parallelism)`
- `CompletableFuture<Collection<T>> parallel(Function, Collector, Executor, parallelism)`

- `Stream<T> parallelToStream(Function)` (uses Virtual Threads)
- `Stream<T> parallelToOrderedStream(Function)` (uses Virtual Threads)
- `Stream<T> parallelToStream(Function, parallelism)` (uses Virtual Threads)
- `Stream<T> parallelToOrderedStream(Function, parallelism)` (uses Virtual Threads)
- `Stream<T> parallelToStream(Function, Executor, parallelism)`
- `Stream<T> parallelToOrderedStream(Function, Executor, parallelism)`

Expand Down

0 comments on commit 7b940a8

Please sign in to comment.