<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>haradago</author_name>
  <author_url>https://blog.hatena.ne.jp/haradago/</author_url>
  <blog_title>ぶりりあんとろーど(仮)</blog_title>
  <blog_url>https://haradago.hatenadiary.org/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>JDK5からの機能。 //列挙型の定義 enum StatusKbn { NORMAL, ERROR, WARNING }//変数に格納 StatusKbn st = StatusKbn.NORMAL; //条件式に使用 if (st.equals(StatusKbn.ERROR)){ System.out.println(&quot;エラーです&quot;); } 列挙型の要素には、宣言した順に0から番号が割り当てられる。 ordinalメソッドでその値を取得できる。 System.out.println(StatusKbn.NORMAL.ordinal); //↑0が出力される System.out.prin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharadago.hatenadiary.org%2Fentry%2F20071004%2Fp1&quot; title=&quot;列挙型 - ぶりりあんとろーど(仮)&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-10-04 00:00:00</published>
  <title>列挙型</title>
  <type>rich</type>
  <url>https://haradago.hatenadiary.org/entry/20071004/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
