Data Classes and Sealed Types for Java




More at https://openjdk.org/projects/amber/design-notes/records-and-sealed-classes