Episode 17 “Pattern Matching for switch” with Gavin Bierman

Posted on June 13, 2021



In this episode, David discusses with Gavin Bierman a new set of Java language features coming from Project Amber, i.e. Pattern Matching. In addition to sealed classes and pattern matching for instanceof, they are covering in great detail a new (and great!) JDK 17 preview feature: pattern matching for switch.

For more episodes, check out Inside Java and follow @Java on Twitter.

Contact us here.


Resources

Java 16

Java 17

Post Java 17

Additional resources