Title: Grouping class has two errors with undefined functions at line 36 and 41 · Issue #15 · java8/Java8InAction · GitHub
Open Graph Title: Grouping class has two errors with undefined functions at line 36 and 41 · Issue #15 · java8/Java8InAction
X Title: Grouping class has two errors with undefined functions at line 36 and 41 · Issue #15 · java8/Java8InAction
Description: private static Map
Open Graph Description: private static Map
X Description: private static Map<Dish.Type, Set> groupDishTagsByType() { return menu.stream().collect(groupingBy(Dish::getType, flatMapping(dish -> dishTags.get( dish.getName() ).stream(), toSet()))); }...
Opengraph URL: https://github.com/java8/Java8InAction/issues/15
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Grouping class has two errors with undefined functions at line 36 and 41","articleBody":"private static Map\u003cDish.Type, Set\u003cString>> groupDishTagsByType() {\r\n return menu.stream().collect(groupingBy(Dish::getType, **flatMapping**(dish -> dishTags.get( dish.getName() ).stream(), toSet())));\r\n }\r\n-> flatMapping shown as invalid and don't compile the class\r\n\r\n private static Map\u003cDish.Type, List\u003cDish>> groupCaloricDishesByType() {\r\n// return menu.stream().filter(dish -> dish.getCalories() > 500).collect(groupingBy(Dish::getType));\r\n return menu.stream().collect(groupingBy(Dish::getType, **filtering**(dish -> dish.getCalories() > 500, toList())));\r\n }\r\n-> filtering shown as invalid and don't compile the class","author":{"url":"https://github.com/wilsonpenha","@type":"Person","name":"wilsonpenha"},"datePublished":"2017-07-23T16:28:30Z","url":"https://github.com/java8/Java8InAction/issues/15"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:58814e9f-1677-418b-9dd8-39fe1fe8cc16 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC08:1D0B95:52E05C:72A18A:6AFC1076 |
| html-safe-nonce | 848df8be578053f7f3765e688411eb839b15fd312a5187071f590d52d8c807ea |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzA4OjFEMEI5NTo1MkUwNUM6NzJBMThBOjZBRkMxMDc2IiwidmlzaXRvcl9pZCI6IjE4OTE3NjI4MTc0MDk0ODY5NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5481fa44040d11eeb392fdbc6c507f8f84f4b45912fffa109588aa4d3f44858b |
| hovercard-subject-tag | issue:244920749 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/java8/Java8InAction/15/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee6abf8ca45fd999c217acca1923c38f0e11750f1fbb25b1b926e8c07d0de904/java8/Java8InAction/issues/15 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee6abf8ca45fd999c217acca1923c38f0e11750f1fbb25b1b926e8c07d0de904/java8/Java8InAction/issues/15 |
| og:image:alt | private static Map |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wilsonpenha |
| hostname | github.com |
| expected-hostname | github.com |
| None | fa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f |
| turbo-cache-control | no-preview |
| go-import | github.com/java8/Java8InAction git https://github.com/java8/Java8InAction.git |
| octolytics-dimension-user_id | 5799035 |
| octolytics-dimension-user_login | java8 |
| octolytics-dimension-repository_id | 13942024 |
| octolytics-dimension-repository_nwo | java8/Java8InAction |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13942024 |
| octolytics-dimension-repository_network_root_nwo | java8/Java8InAction |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b3b5633a74535d9c23385512d534c66c8fde1907 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width