https://github.com/nileshkhaire/java-streams
Collection of Java 8 streams examples (snippets) . Awesome list of java stream examples
https://github.com/nileshkhaire/java-streams
List: java-streams
awesome-list java java8 java8-lambda-expression javastreams lambda snippets
Last synced: 22 days ago
JSON representation
Collection of Java 8 streams examples (snippets) . Awesome list of java stream examples
- Host: GitHub
- URL: https://github.com/nileshkhaire/java-streams
- Owner: nileshkhaire
- License: mit
- Created: 2021-04-03T10:37:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-03T14:32:45.000Z (about 5 years ago)
- Last Synced: 2025-07-20T05:25:44.157Z (11 months ago)
- Topics: awesome-list, java, java8, java8-lambda-expression, javastreams, lambda, snippets
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# java-streams
Collection of Java 8 streams examples (snippets) grouped by java data structures
- [By Data Structure](#by-data-structure)
- [Map](#map)
- [List](#list)
- [Set](#set)
- [Array](#array)
- [Resources](#resources)
- [Blogs](#blogs)
- [Websites](#websites)
## By Data Structure
### Map
### List
#### Find first element in the list
```java
Arrays.asList("hi", "hey", "hello")
.stream()
.findFirst()
.ifPresent(System.out::println);
```
Output :
```
hi
```
### Set
### Array
## Resources
### Blogs
### Websites
## Contributing
Contributions are welcome :) Please create a pull request.