Overview
Explore pattern matching in Java with Gavin Bierman in this 41-minute Inside Java Podcast episode. Dive into Project Amber's new language features, including sealed classes and pattern matching for `instanceof`. Learn about the JDK 17 preview feature: pattern matching for `switch`. Discover concepts like dominance, completeness, total type patterns, pattern variables, guarded patterns, and deconstruction patterns. Gain insights into array of records and compiler implications. Access additional resources on JEPs, OpenJDK builds, and official Java documentation to enhance your understanding of these advanced Java features.
Syllabus
Intro
Greetings
What is a pattern
Switch
Dominance
completeness
total type pattern
pattern variables
guarded patterns
deconstruction patterns
array of records
compiler
conclusion
Taught by
Java