{"categories":["java","java13"],"author_name":"nowokay","url":"https://nowokay.hatenablog.com/entry/2019/04/24/043239","version":"1.0","description":"Java12\u3067\u30d7\u30ec\u30d3\u30e5\u30fc\u3068\u3057\u3066switch\u5f0f\u304c\u5165\u3063\u3066\u3001Java13\u3067\u6b63\u5f0f\u5316\u3067\u304d\u308b\u3088\u3046\u4f5c\u696d\u304c\u9032\u3093\u3067\u3044\u307e\u3059\u3002 \u305d\u3093\u306a\u4e2d\u3001switch\u5f0f\u3092\u6b63\u5f0f\u5316\u3059\u308bJEP\u306e\u30c9\u30e9\u30d5\u30c8\u304c\u51fa\u3066\u3044\u307e\u3057\u305f\u3002 JEP draft: Switch Expressions \u8ffd\u8a18 \u3042\u3063\u3068\u3044\u3046\u307e\u306b\u30c9\u30e9\u30d5\u30c8\u3067\u306f\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059 JEP 354: Switch Expressions \u30d7\u30ec\u30d3\u30e5\u30fc\u3068\u306e\u9055\u3044\u306fbreak\u304c\u30cf\u30a4\u30d5\u30f3\u4ed8\u30ad\u30fc\u30ef\u30fc\u30c9\u306ebreak-with\u306b\u306a\u308b\u3068\u3044\u3046\u8a18\u8ff0\u304c\u3042\u308a\u307e\u3059\u3002 int result = switch (s) { case \"Foo\": break-with 1; case \"Bar\": break-with 2;\u2026","image_url":null,"height":"190","type":"rich","width":"100%","blog_url":"https://nowokay.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/nowokay/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","title":"switch\u5f0f\u306e\u5024\u4ed8\u304dbreak\u306fbreak-with\u306b\u306a\u308b\u3053\u3068\u304c\u307b\u307c\u78ba\u5b9a(\u8ffd\u8a18\u3042\u308ayield\u306b\u306a\u308a\u307e\u3057\u305f)","published":"2019-04-24 04:32:39","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnowokay.hatenablog.com%2Fentry%2F2019%2F04%2F24%2F043239\" title=\"switch\u5f0f\u306e\u5024\u4ed8\u304dbreak\u306fbreak-with\u306b\u306a\u308b\u3053\u3068\u304c\u307b\u307c\u78ba\u5b9a(\u8ffd\u8a18\u3042\u308ayield\u306b\u306a\u308a\u307e\u3057\u305f) - \u304d\u3057\u3060\u306eHatena\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u304d\u3057\u3060\u306eHatena"}