Don Raab1 article

Latest post Immutable Collections in Java with Sealed Types

JDK 15 was released on September 15, 2020. JEP 360 Sealed Types was included as a preview feature in this release, with its second preview in JDK 16.

Sealed Types is part of Project Amber. Sealed classes or interfaces can be used to restrict the interfaces or classes that are allowed to extend them.

Also learn about the source code for an experimental implementation of a collections framework can be found in the Deck of Cards Kata repo.

Avatar photo
  • Don Raab
December 10, 2020
1-1 of 1

Subscribe to foojay updates:
Copied to the clipboard