We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94a51d commit 529d54aCopy full SHA for 529d54a
README.md
@@ -163,6 +163,10 @@ Example usage:
163
```java
164
// Stream the visible Projects printing out the project name.
165
gitlabApi.getProjectsApi().getProjectsStream().map(Project::getName).forEach(name -> System.out.println(name));
166
+
167
+// Operate on the stream in parallel, this example sorts User instances by username
168
+Stream<User> stream = new UserApi(gitLabApi).getUsersStream();
169
+List<User> sortedUsers = stream.parallel().sorted(comparing(User::getUsername)).collect(toList());
170
```
171
172
---
0 commit comments