{"blog_url":"https://yucatio.hatenablog.com/","published":"2024-02-11 16:20:37","image_url":null,"blog_title":"yucatio@\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2","width":"100%","categories":[],"type":"rich","version":"1.0","author_name":"yucatio","url":"https://yucatio.hatenablog.com/entry/2024/02/11/162037","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyucatio.hatenablog.com%2Fentry%2F2024%2F02%2F11%2F162037\" title=\"Enum\u3092\u5ba3\u8a00\u9806\u306b\u4e26\u3073\u5909\u3048\u308b(\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u7248) - yucatio@\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","provider_name":"Hatena Blog","title":"Enum\u3092\u5ba3\u8a00\u9806\u306b\u4e26\u3073\u5909\u3048\u308b(\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u7248)","description":"Enum\u306e\u30ea\u30b9\u30c8\u3092\u5ba3\u8a00\u9806\u306b\u4e26\u3073\u5909\u3048\u305f\u3044\u3068\u304d\u306b\u306f\u3001\u81ea\u7136\u9806\u306b\u4e26\u3079\u308b\u304b\u3001\u5ba3\u8a00\u9806\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u793a\u3057\u305f\u3044\u5834\u5408\u306fEnum.ordinal()\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 Enum (Java SE 17 & JDK 17) // Enum\u30af\u30e9\u30b9 public enum Element { FIRE, WATER, ELECTRRIC, POISON } List<Element> elements = List.of(Element.ELECTRRIC, Element.POISON, Element.WATER, Element.FIRE, Element.WATER, Element.POISON); List<E\u2026","author_url":"https://blog.hatena.ne.jp/yucatio/"}