Examples of Pattern Matching in Java

This repository contains examples showcasing the pattern matching capabilities of Java after the release of Java 21.

In order to run the examples in this project you need to use JDK 21 with preview features enabled. If you're using IntelliJ IDEA, follow this tutorial to enable preview features.

These examples were presented during Voxxed Days CERN 2024.

Useful links