Carrier Classes; Beyond Records - Inside Java Newscast #105

Carrier classes are a generalization of records that allow Java developers to succinctly define classes with a data-centric API that can participate in pattern matching and reconstruction