Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
6880708e
Unverified
Commit
6880708e
authored
Dec 14, 2018
by
Greg Messner
Committed by
GitHub
Dec 14, 2018
Browse files
Fixed typo.
parent
d928b44a
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
6880708e
...
...
@@ -141,8 +141,7 @@ List<Project> allProjects = projectPager.all();
---
## Java 8 Stream Support
As of GitLab4J-API 4.9.2, you can also fetch all the items a Java 8+ Stream instance using a Pager instance:
As of GitLab4J-API 4.9.2, you can also stream list based items in a Java 8 Stream using a Pager instance as follows:
```
java
// Get a Pager instance to get a Stream<Project> instance.
Pager
<
Project
>
projectPager
=
gitlabApi
.
getProjectsApi
().
getProjects
(
10
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment