{"id":21816478,"url":"https://github.com/hoseinrezaeem/stream_mapgrouping","last_synced_at":"2025-03-21T10:13:13.498Z","repository":{"id":205312429,"uuid":"708480880","full_name":"HoseinRezaeeM/stream_Mapgrouping","owner":"HoseinRezaeeM","description":"Java8 - Stream","archived":false,"fork":false,"pushed_at":"2023-10-30T19:40:45.000Z","size":82,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T06:41:08.290Z","etag":null,"topics":["collection","funtional","groupingby","interface","java-8","lambda","map","stream"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HoseinRezaeeM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-22T17:28:12.000Z","updated_at":"2023-11-16T06:58:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"73f8c019-34ff-4306-a7e8-355a614114fb","html_url":"https://github.com/HoseinRezaeeM/stream_Mapgrouping","commit_stats":null,"previous_names":["hoseinrezaeem/stream_mapgrouping"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoseinRezaeeM%2Fstream_Mapgrouping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoseinRezaeeM%2Fstream_Mapgrouping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoseinRezaeeM%2Fstream_Mapgrouping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoseinRezaeeM%2Fstream_Mapgrouping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HoseinRezaeeM","download_url":"https://codeload.github.com/HoseinRezaeeM/stream_Mapgrouping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244776340,"owners_count":20508506,"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","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":["collection","funtional","groupingby","interface","java-8","lambda","map","stream"],"created_at":"2024-11-27T15:34:40.076Z","updated_at":"2025-03-21T10:13:13.469Z","avatar_url":"https://github.com/HoseinRezaeeM.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stream_Map_grouping\n\u003ch3\u003e\n  The groupingBy()\n  method of Collectors class in Java are used for grouping objects by some property and storing results in a Map instance. In order to use it, we always need to specify a property by which the grouping would be performed. This method provides similar functionality to SQL’s GROUP BY clause.\n \n\nSyntax:  \n\npublic static Collector\u003cT, ?, Map\u003cK, List\u003e\u003e groupingBy(Function classifier) \n \n\nType Parameter: This method takes two type parameters: \n\nT- It is the type of the input elements.\n \nK- It is the type the input elements to be converted.\nParameters: This method accepts two mandatory parameters:  \n\nFunction- It is the property which is to be applied to the input elements.\n \nClassifier- It is used to map input elements into the destination map.\nReturn value: It returns a collector as a map.\u003c/h3\u003e\n\n\u003cdiv\u003e\n  \u003cimg src=\"https://github.com/HoseinRezaeeM/Stream_Mapgrouping/blob/master/groupingBy.png\"\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoseinrezaeem%2Fstream_mapgrouping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoseinrezaeem%2Fstream_mapgrouping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoseinrezaeem%2Fstream_mapgrouping/lists"}