<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>InfoQ - Java 19 - Articles</title>
    <link>https://www.infoq.com</link>
    <description>InfoQ Java 19 Articles feed</description>
    <item>
      <title>Article: A Comprehensive Guide to Java's New Feature: Pattern Matching for Switch</title>
      <link>https://www.infoq.com/articles/pattern-matching-for-switch/?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=Java+19-articles</link>
      <description>&lt;img src="https://res.infoq.com/articles/pattern-matching-for-switch/en/headerimage/comprehensive-guide-to-Java-new-feature-pattern-matching-for-switch-header-1687357659901.jpg"/&gt;&lt;p&gt;Java brings an update with Pattern Matching for Switch. This article provides a detailed exploration of this feature, examining its support for any reference type, inclusion of null values, and introduction of guarded patterns. It also delves into the new runtime exception class - MatchException, and illustrates the compatibility of this feature with traditional switch statements.&lt;/p&gt; &lt;i&gt;By Deepak Vohra&lt;/i&gt;</description>
      <category>Java 19</category>
      <category>Java</category>
      <category>Development</category>
      <category>article</category>
      <pubDate>Tue, 27 Jun 2023 09:00:00 GMT</pubDate>
      <guid>https://www.infoq.com/articles/pattern-matching-for-switch/?utm_campaign=infoq_content&amp;utm_source=infoq&amp;utm_medium=feed&amp;utm_term=Java+19-articles</guid>
      <dc:creator>Deepak Vohra</dc:creator>
      <dc:date>2023-06-27T09:00:00Z</dc:date>
      <dc:identifier>/articles/pattern-matching-for-switch/en</dc:identifier>
    </item>
  </channel>
</rss>
