Главная
Study mode:
on
1
Introduction
2
Collection literals
3
The new API
4
The API
5
Examples
6
Map of Entries
7
Overloads
8
Overload Resolution
9
Fixed Overloads
10
Nulls
11
Immutability
12
Why are we doing this
13
Threadsafe
14
Unmodifiable wrappers
15
Duplicates
16
Duplicate Rejection
17
Duplicate Rejection Example
18
Implementation Issues
19
Implementation Diagram
20
How big is this
21
Shooting fish in a barrel
22
Cost per element
23
Design considerations
24
Organization considerations
25
Improved access time
26
Private APIs
27
Collection Size
28
Compatability
29
Serialization
30
iteration order
31
randomized iteration order
32
Questions and comments
Description:
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.

Young Pups - New Collections APIs for Java 9

Devoxx
Add to list