Channel: Java
Category: Science & Technology
Tags: jdk 17developer livejavaoracleoracle developer livedeveloperspattern matching in javaswitch expressionoracle javaoracle cloud
Description: 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. An Oracle Developer Live - Java Innovation Session presented by Nicola Parlog, Developer Advocate, Oracle ➱ inside.java/u/NicolaiParlog ⎯⎯⎯⎯⎯⎯ 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 ➱ nipafx.dev/talk-java-pattern-matching Categories: #Java #Java17 #Development