<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>azuma006</author_name>
  <author_url>https://blog.hatena.ne.jp/azuma006/</author_url>
  <blog_title>あずまや</blog_title>
  <blog_url>https://azuma006.hatenablog.com/</blog_url>
  <categories>
    <anon>java</anon>
    <anon>error</anon>
  </categories>
  <description>Javaの条件分岐として筆頭のif文の陰に隠れがちですが、switch～case文というのがあります。 switch (条件式) { case 値1: 処理1; break; case 値2: 処理2; break; default : 処理(else); } 使い方はいろいろなサイトや書籍で紹介されているかと思います。 今回のテーマとするのは「条件式」に有効な型の種類です。 switch文 - Java文メモ(Hishidama's Java Statement Memo) こちらに拠りますと、以下の型が条件式として有効とのことです。 byte型 char型 short型 int型 enum…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fazuma006.hatenablog.com%2Fentry%2F2014%2F08%2F19%2F231800&quot; title=&quot;Javaのswitch～case文で扱える条件式 - あずまや&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>2014-08-19 23:18:00</published>
  <title>Javaのswitch～case文で扱える条件式</title>
  <type>rich</type>
  <url>https://azuma006.hatenablog.com/entry/2014/08/19/231800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
