Java Cup
Inside Java

News and views from members of the Java team at Oracle

Java 21 New Feature: Sequenced Collections - JEP Café #19

Discover the principles of Sequenced Collections, Sets, and Maps, a new feature introduced in JDK 21.

Sequenced Collections are about modelling collections with a defined encounter order, giving you direct access to their first and last element. Learn about the Sequenced Collections API, part of the Collections Framework, added as a standard feature in JDK 21.

Show Notes

Additional Resources

JEP Café explores Java features and JDK Enhancement Proposals through tutorials and practical examples. Watch all episodes in the YouTube playlist. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.