Java Articles, Tutorials & News

Record patterns are coming to Java

Enhance the Java programming language with record patterns, to deconstruct record values. Record patterns, and type patterns (JEP 394) can be nested so as to significantly enhance the expressiveness and utility of pattern matching. This is a preview langu…

Read more »