<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kunst1080</author_name>
  <author_url>https://blog.hatena.ne.jp/kunst1080/</author_url>
  <blog_title>くんすとの備忘録</blog_title>
  <blog_url>https://kunst1080.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>まさか、こんなコード書いてないよね？ String items[] = {&quot;いんく&quot;, &quot;すみ&quot;, &quot;ありす&quot;}; boolean hasItem = false; for (String s : items){ if(&quot;すみ&quot;.equals(s)){ hasItem = true; break; } } if (hasItem){ System.out.println(&quot;まじかるちぇんじ！&quot;); } Collection.contains(Object o)を利用します。 String items[] = {&quot;いんく&quot;, &quot;すみ&quot;, &quot;ありす&quot;}; if (Arrays.asList(ite…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkunst1080.hatenablog.com%2Fentry%2F2013%2F05%2F23%2F230526&quot; title=&quot;【Java】配列が特定の値を含んでいるかどうかチェックする - くんすとの備忘録&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>2013-05-23 23:05:26</published>
  <title>【Java】配列が特定の値を含んでいるかどうかチェックする</title>
  <type>rich</type>
  <url>https://kunst1080.hatenablog.com/entry/2013/05/23/230526</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
