Author: Don Raab

Don Raab

Java Champion. Creator of the Eclipse Collections OSS Java library. Inspired by Smalltalk. Opinions are my own.

  • 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.

    Don Raab
    Read more

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard