{"id":20632087,"url":"https://github.com/nileshkhaire/java-streams","last_synced_at":"2026-05-17T01:34:39.062Z","repository":{"id":53161741,"uuid":"354264001","full_name":"nileshkhaire/java-streams","owner":"nileshkhaire","description":"Collection of Java 8 streams examples (snippets) . Awesome list of java stream examples","archived":false,"fork":false,"pushed_at":"2021-04-03T14:32:45.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-20T05:25:44.157Z","etag":null,"topics":["awesome-list","java","java8","java8-lambda-expression","javastreams","lambda","snippets"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nileshkhaire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-03T10:37:49.000Z","updated_at":"2021-04-03T14:32:47.000Z","dependencies_parsed_at":"2022-09-12T16:05:07.574Z","dependency_job_id":null,"html_url":"https://github.com/nileshkhaire/java-streams","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nileshkhaire/java-streams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nileshkhaire%2Fjava-streams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nileshkhaire%2Fjava-streams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nileshkhaire%2Fjava-streams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nileshkhaire%2Fjava-streams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nileshkhaire","download_url":"https://codeload.github.com/nileshkhaire/java-streams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nileshkhaire%2Fjava-streams/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267578003,"owners_count":24110351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awesome-list","java","java8","java8-lambda-expression","javastreams","lambda","snippets"],"created_at":"2024-11-16T14:14:51.508Z","updated_at":"2026-05-17T01:34:34.041Z","avatar_url":"https://github.com/nileshkhaire.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# java-streams\nCollection of Java 8 streams examples (snippets) grouped by java data structures\n\n- [By Data Structure](#by-data-structure)\n  - [Map](#map)\n  - [List](#list)\n  - [Set](#set)\n  - [Array](#array)\n\n\n- [Resources](#resources)\n  - [Blogs](#blogs)\n  - [Websites](#websites)\n\n## By Data Structure\n\n### Map\n### List\n#### Find first element in the list\n```java\nArrays.asList(\"hi\", \"hey\", \"hello\")\n    .stream()\n    .findFirst()\n    .ifPresent(System.out::println);\n```\nOutput :\n```\nhi\n```\n### Set\n### Array\n\n## Resources\n\n### Blogs\n### Websites\n\n## Contributing\n\nContributions are welcome :) Please create a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnileshkhaire%2Fjava-streams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnileshkhaire%2Fjava-streams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnileshkhaire%2Fjava-streams/lists"}