docs.oracle.com/en/java/javase/23/language/pattern-matching.html

Preview meta tags from the docs.oracle.com website.

Search Engine Appearance

Google

https://docs.oracle.com/en/java/javase/23/language/pattern-matching.html

Java Language Updates

Pattern matching involves testing whether an object has a particular structure, then extracting data from that object if there's a match. You can already do this with Java. However, pattern matching introduces new language enhancements that enable you to conditionally extract data from objects with code that's more concise and robust.



Bing

Java Language Updates

https://docs.oracle.com/en/java/javase/23/language/pattern-matching.html

Pattern matching involves testing whether an object has a particular structure, then extracting data from that object if there's a match. You can already do this with Java. However, pattern matching introduces new language enhancements that enable you to conditionally extract data from objects with code that's more concise and robust.



DuckDuckGo

https://docs.oracle.com/en/java/javase/23/language/pattern-matching.html

Java Language Updates

Pattern matching involves testing whether an object has a particular structure, then extracting data from that object if there's a match. You can already do this with Java. However, pattern matching introduces new language enhancements that enable you to conditionally extract data from objects with code that's more concise and robust.

  • General Meta Tags

    25
    • title
      Pattern Matching
    • Content-Type
      text/html; charset=utf-8
    • DC.Type
      concept
    • DC.Title
      Pattern Matching
    • abstract
      Pattern matching involves testing whether an object has a particular structure, then extracting data from that object if there's a match. You can already do this with Java. However, pattern matching introduces new language enhancements that enable you to conditionally extract data from objects with code that's more concise and robust.
  • Open Graph Meta Tags

    3
    • og:site_name
      Oracle Help Center
    • og:title
      Java Language Updates
    • og:description
      Pattern matching involves testing whether an object has a particular structure, then extracting data from that object if there's a match. You can already do this with Java. However, pattern matching introduces new language enhancements that enable you to conditionally extract data from objects with code that's more concise and robust.
  • Link Tags

    6
    • alternate
      java-se-language-updates.pdf
    • next
      pattern-matching-instanceof.html
    • prev
      sealed-classes-and-interfaces.html
    • schema.dcterms
      http://purl.org/dc/terms/
    • shortcut icon
      /sp_common/book-template/ohc-common/img/favicon.ico