Pattern Matching in Java 17 and Beyond
Pattern Matching is finding its way into Java, one step at a time, along three paths: patterns, switch improvements, sealed classes. This session will explore the recent history, current state, and future evolution of pattern matching in Java. Presented by Nicola Parlog, Developer Advocate Chapters 00:00 Introduction 00:58 The Back Story 07:49 Type Patterns 10:22 Pattern Matching in Switch 13:18 Deconstruction Patterns 15:11 Guarded Patterns 17:52 Sealed Classes 20:16 Timeline 20:53 Plot Holes 21:26 Happy End 22:49 When should you use this 25:47 Conclusion Resources Slide Deck Categories:, Java, Java17, Development
|
|