Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pattern Matching in Java - New Features from Project Amber

Java via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Pattern Matching in Java - New Features from Project Amber

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.