{"url":"https://nakamurakko.com/entry/2021/09/24/163519","published":"2021-09-24 16:35:19","width":"100%","author_name":"nakamurakko","version":"1.0","provider_url":"https://hatena.blog","title":"Java \u306e Enum","image_url":null,"categories":["Java"],"height":"190","provider_name":"Hatena Blog","blog_title":"nakamurakko\u2019s blog","author_url":"https://blog.hatena.ne.jp/nakamurakko/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakamurakko.com%2Fentry%2F2021%2F09%2F24%2F163519\" title=\"Java \u306e Enum - nakamurakko\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://nakamurakko.com/","description":"\u74b0\u5883 Eclipse 2021-09 (4.21.0) Java 17 2021-09-14 LTS Java \u306b\u3082 Enum \u304c\u3042\u308b\u3089\u3057\u304f\u3001\u5c11\u3057\u78ba\u8a8d\u3057\u3066\u307f\u305f\u3002 Enum \u7c21\u5358\u306a Enum \u3092\u5b9a\u7fa9\u3059\u308b\u3068\u4e0b\u8a18\u306e\u901a\u308a\u3002 public enum Statuses { OK, NG; } C# \u3068\u5909\u308f\u3089\u306a\u3044\u3002 \u304c\u3001\u3053\u3046\u306a\u308b\u3068\u5927\u5206\u5909\u308f\u308b\u3002 public enum Statuses { OK(\"\u6b63\u5e38\u7d42\u4e86\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3002\"), NG(\"\u4f55\u3089\u304b\u306e\u30a8\u30e9\u30fc\u304c\u3042\u3063\u305f\u5834\u5408\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3002\"); /** \u8aac\u660e\u3002 */ private final String description; /** * \u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u30fc\u3002 * *\u2026","type":"rich"}