New candidate JEP: 433: Pattern Matching for switch (Fourth Preview)
Mark Reinhold
mark.reinhold at oracle.com
Tue Oct 18 16:56:42 UTC 2022
https://openjdk.org/jeps/433
Summary: Enhance the Java programming language with pattern matching
for expressions and statements. Extending pattern matching to 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. This is a .
- Mark
More information about the jdk-dev
mailing list