java-pattern-matching
Example code for the HappyCoders article “Pattern Matching in Java” – pattern matching for instanceof and switch, record patterns, exhaustiveness with sealed types, dominance, case null, and primitive type patterns (preview). Every listing is a runnable compact source file, plus the ones that don't compile.
- 0
- Java
- 3 wk ago
