Re:Java 14 Feature Spotlight: Records
by llcoolv on Tuesday February 04, 2020 @04:07PM
(#22240974)
Could you show an example of it? In none of the materials published so far there is anything even remotely similar to what you are suggesting.
[ Parent
| on HN ]
http://cr.openjdk.java.net/~briangoetz/amber/datum.html
There you can read about algebraic data types in java, in Java 14 you get preview for records in Java 15 probably you'll get preview for sealed types - they were developed together for some time, only recently there was a split.