Speaker

Simon Ritter
Azul

Simon Ritter is the Deputy CTO of Azul. Simon joined Sun Microsystems in 1996 and spent time working in both Java development and consultancy. He has been presenting Java technologies to developers since 1999, focusing on the core Java platform as well as client and embedded applications. At Azul, he continues to help people understand Java and Azul’s JVM products.

Simon is a Java Champion and a two-time recipient of the JavaOne Rockstar award. In addition, he represents Azul on the JCP Executive Committee, the OpenJDK Vulnerability Group, as well as the JSR Expert Group since Java SE 9.

View
The Art of Java Type Patterns
Conference (INTERMEDIATE level)
Zaal 11

The goal of project Amber within OpenJDK is to explore the inclusion of smaller, productivity-oriented Java language features. One aspect that has been introduced in recent versions is pattern matching.

Pattern matching combines application code logic to test if an expression has a specific type or structure and extract components of its state for processing.

Pattern matching is now well embedded in the Java language using the following features, defined by JDK Enhancement Proposals (JEPs):

  • Pattern matching for instanceof (JEP 433)
  • Pattern matching for switch (JEP 441)
  • Record patterns (JEP 440)
  • Unnamed patterns and variables (JEP 456)
  • Primitive types in patterns, instanceof and switch (JEP 455)

In this session, we’ll look at the details of these new language features and a more general look at pattern matching.

By the end of the session, you’ll be all set to get the most from Pattern Matching in Java.

More

Searching for speaker images...