{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fautopp-tech.hatenablog.com%2Fentry%2F2019%2F08%2F22%2F093538\" title=\"Collectors::toMap \u306e\u5024\u30de\u30c3\u30d4\u30f3\u30b0\u95a2\u6570\u306e\u5236\u7d04 - ./autopp --tech\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","description":"\u5099\u5fd8\u9332\u3002Java \u3067\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u30de\u30c3\u30d7\u306b\u5909\u63db\u3059\u308b Collectors::toMap \u306e NullPointerException \u306b\u30cf\u30de\u3063\u305f\u3002 Collectors::toMap \u306f\u30b9\u30c8\u30ea\u30fc\u30e0\u306b K \u578b\u306e\u30ad\u30fc\u3078\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u95a2\u6570\u3068 V \u578b\u306e\u5024\u3078\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u95a2\u6570\u3092\u53d7\u3051\u53d6\u3063\u3066\u3001Map<K, V> \u578b\u306e\u30de\u30c3\u30d7\u3092\u8fd4\u3059\u3002 \u4ee5\u4e0b\u306f\u6587\u5b57\u5217\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u6587\u5b57\u5217\u3068\u305d\u306e\u6587\u5b57\u6570\u306e\u30de\u30c3\u30d7\u3078\u5909\u63db\u3059\u308b\u4f8b: import java.util.Arrays; import java.util.Map; import java.util.stream.Collectors; public class Sample\u2026","type":"rich","title":"Collectors::toMap \u306e\u5024\u30de\u30c3\u30d4\u30f3\u30b0\u95a2\u6570\u306e\u5236\u7d04","image_url":null,"height":"190","categories":["\u5099\u5fd8\u9332","Java"],"published":"2019-08-22 09:35:38","provider_url":"https://hatena.blog","blog_title":"./autopp --tech","version":"1.0","author_url":"https://blog.hatena.ne.jp/autopp/","url":"https://autopp-tech.hatenablog.com/entry/2019/08/22/093538","author_name":"autopp","provider_name":"Hatena Blog","blog_url":"https://autopp-tech.hatenablog.com/"}