New candidate JEP: 441: Pattern Matching for switch
Mark Reinhold
mark.reinhold at oracle.com
Wed Mar 15 17:58:47 UTC 2023
https://openjdk.org/jeps/441
Summary: Enhance the Java programming language with pattern matching
for switch expressions and statements. Extending pattern matching to
switch allows an expression to be tested against a number of patterns,
each with a specific action, so that complex data-oriented queries can
be expressed concisely and safely.
- Mark
More information about the amber-dev
mailing list