Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Young Pups - New Collections APIs for Java 9

Devoxx via YouTube

Overview

Explore new Collections APIs introduced in Java 9 through this comprehensive conference talk. Dive into the benefits of improved convenience, immutability, and space efficiency offered by the new collection implementations. Learn about the small API footprint, making these collections easy to adopt and use. Discover how they integrate seamlessly with existing code using the collections framework. Examine topics such as collection literals, map of entries, overload resolution, nulls, immutability, thread safety, and duplicate rejection. Gain insights into implementation issues, design considerations, and performance improvements. Understand the impact on code simplicity, cleanliness, and memory consumption for common use cases. Engage with questions and comments to deepen your understanding of these powerful new Java 9 features.

Syllabus

Introduction
Collection literals
The new API
The API
Examples
Map of Entries
Overloads
Overload Resolution
Fixed Overloads
Nulls
Immutability
Why are we doing this
Threadsafe
Unmodifiable wrappers
Duplicates
Duplicate Rejection
Duplicate Rejection Example
Implementation Issues
Implementation Diagram
How big is this
Shooting fish in a barrel
Cost per element
Design considerations
Organization considerations
Improved access time
Private APIs
Collection Size
Compatability
Serialization
iteration order
randomized iteration order
Questions and comments

Taught by

Devoxx

Reviews

Start your review of Young Pups - New Collections APIs for Java 9

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.