<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>msm-keishiro-osaki</author_name>
  <author_url>https://blog.hatena.ne.jp/msm-keishiro-osaki/</author_url>
  <blog_title>DTダイナミクス テックブログ</blog_title>
  <blog_url>https://techblog.dt-dynamics.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>ごあいさつ こんにちは。meviyのWebシステムを開発している大崎です。 今回は、Scalaのコレクション内に要素の存在チェックに使われるメソッドについて触れたいと思います。 ごあいさつ 各メソッドの紹介 .contains メソッド .exists メソッド 実装例 .contains メソッドの実装例 .exists メソッドの実装例 数値リストの条件チェック 文字列内に特定の単語が存在するかのチェック 真偽値の確認 内部実装 Javaでの同等の実装 まとめ 終わりに Scalaでコレクションを操作するとき、「該当する要素が存在するか」「特定の条件を満たす要素が存在するか」を確認する場面…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.dt-dynamics.com%2Fentry%2F2025%2F02%2F07%2F090000&quot; title=&quot;Scalaのコレクションメソッド .containsと.existsについて - DTダイナミクス テックブログ&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>2025-02-07 09:00:00</published>
  <title>Scalaのコレクションメソッド .containsと.existsについて</title>
  <type>rich</type>
  <url>https://techblog.dt-dynamics.com/entry/2025/02/07/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
