<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kouki_hoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/kouki_hoshi/</author_url>
  <blog_title>Status Code 303 - See Other</blog_title>
  <blog_url>https://kouki-hoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>コード改善</anon>
  </categories>
  <description>概要 switch 構文は、ある変数がある値のときに処理を分岐させる命令であり、 数多くの言語でサポートされているが、言語により微妙に仕様が異なっている。言語共通の話題も数多く含まれているが、 今回は、Java を前提に switch 構文について記述する。 詳細説明 switch 構文の記述方法 int value = 0; // valueの値により処理を分岐する switch (value) { case 0: // 処理1 break; case 10: // 処理2 break; default: // 処理3 } 上記 switch 構文は、次の if-else 構文と等価。 in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkouki-hoshi.hatenablog.com%2Fentry%2F2016%2F01%2F08%2F014635&quot; title=&quot;Java の switch 構文落とし穴 - Status Code 303 - See Other&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>http://ecx.images-amazon.com/images/I/51885S48YPL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-01-08 01:46:35</published>
  <title>Java の switch 構文落とし穴</title>
  <type>rich</type>
  <url>https://kouki-hoshi.hatenablog.com/entry/2016/01/08/014635</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
